Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /home1/tylerfra/public_html/includes/common.inc).

xCode - Apple Mach-O Linker Error - Linker command failed with exit code 1

Category: 

With PhoneGap 2.9.0 (Cordova), while trying to compile in xCode to build a mobile application for release, I receive this error:

Apple Mach-O Linker Error - Linker command failed with exit code 1

To fix this problem, this worked for me in xCode:

  1. Click on your project in the left side bar
  2. Click 'Build Settings'
  3. Go to 'Other Linker Flags'
  4. Click 'Release'
  5. Change the "-force_load" value from this:
${TARGET_BUILD_DIR}/libCordova.a

to this:

${BUILT_PRODUCTS_DIR}/libCordova.a

After that, just re-compile and the error should go away! We can only hope...