Skip to content

Instantly share code, notes, and snippets.

@oeeckhoutte
Last active December 25, 2015 20:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oeeckhoutte/7038661 to your computer and use it in GitHub Desktop.
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
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