How to change the bundle identifier of an app in Xcode 5?

Actually this is pretty simple: Select your target Select ‘info’ tab (you can do the same by finding the plist file on the project) Search for “Bundle Identifier” key, The value on your end should be com.mycompany.${PRODUCT_NAME:rfc1034identifier}. If you want to change the grey field just replace the “com.mycompany” with whatever you want. the other … Read more

After update to Xcode 5 – ld: symbol(s) not found for architecture armv7 or armv7s linker error

Short answer: Remove Build Active Architecture Only (build setting parameter key is ‘ONLY_ACTIVE_ARCH’) from all of your static libraries’ project build settings or overwrite it with ‘NO’ like in the screenshot below: Detailed answer: The problem is that your static library ‘libCordova.a’ which you’re linking in your main app is only compiled for one architecture … Read more

Access Asset Catalog pathForResource

Same problem, but I don’t think we could access it via pathForResource:, except below: UIImage* image = [UIImage imageNamed:@”name-in-asset-catalog”]; It has been clearly documented: Each set in an asset catalog has a name. You can use that name to programmatically load any individual image contained in the set. To load an image, call the UIImage:imageNamed: … Read more

CocoaPods arm64 issue

Select the Pods project Change Build Active Architecture Only from Yes to No. That worked for me. Note: CocoaPods Troubleshooting Guide recommends matching the Debug setting in your Xcode project, rather than changing the Pod’s Build Active Architecture Only. As long as they match it seems to fix the problem.

Is there any way to add constraint between a view and the top layout guide in a xib file?

You should refer the following example, this will definitely help you for your problem. I got this from http://developer.apple.com . [button setTranslatesAutoresizingMaskIntoConstraints: NO]; id topGuide = myViewController.topLayoutGuide; NSDictionary *viewsDictionary = NSDictionaryOfVariableBindings (button, topGuide); [myViewController.view addConstraints: [NSLayoutConstraint constraintsWithVisualFormat: @”V:[topGuide]-20-[button]” options: 0 metrics: nil views: viewsDictionary] ];