Last active
December 25, 2015 20:58
-
-
Save oeeckhoutte/7038661 to your computer and use it in GitHub Desktop.
[Cordova][Xcode][Fix] After update to Xcode 5 - ld: symbol(s) not found for architecture armv7 or armv7s linker error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Go to your Cordova Project | |
Root Folder -> CordovaLib -> Right Click CordovaLib.xcodeproj -> Show Package Contents -> Open project.pbxproj | |
Replace all occurrences of (I had 4) | |
buildSettings = { | |
ALWAYS_SEARCH_USER_PATHS = NO;//in 2 out of 4 occurrences | |
"ARCHS[sdk=iphoneos*]" = armv7; | |
"ARCHS[sdk=iphoneos6.*]" = ( | |
armv7, | |
armv7s, | |
); | |
/* other settings here */ | |
}; | |
With this | |
buildSettings = { | |
ALWAYS_SEARCH_USER_PATHS = NO;//in 2 out of 4 occurrences | |
"ARCHS[sdk=iphoneos*]" = armv7; | |
"ARCHS[sdk=iphoneos7.*]" = ( | |
armv7, | |
armv7s, | |
); | |
"ARCHS[sdk=iphoneos6.*]" = ( | |
armv7, | |
armv7s, | |
); | |
/* other settings here */ | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment