Solved: iOS build failed - GoogleMobileAds and iOS SDK version needed

cabinfever

  • Posts: 159
Hi,

Stencyl build 9300
Xcode version 6.2 ( 6C131e ) - latest that the MacOS supports
MacOS is 10.9 .5 Mavericks

Any idea why building on iOS fails due some  GoogleMobileAds issue?

--clip--
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib] Undefined symbols for architecture armv7:
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib]   "_OBJC_CLASS_$_SFSafariViewController", referenced from:
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib]       objc-class-ref in GoogleMobileAds(flat-armv7)
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib] ld: symbol(s) not found for architecture armv7
2017-03-07 21:22:41,056 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib] clang: error: linker command failed with exit code 1 (use -v to see invocation)
2017-03-07 21:22:41,156 INFO  [Thread-12] stencyl.sw.util.StreamGobbler: [haxelib] ** BUILD FAILED **

--clip ends---

Similar issues reported here:
http://stackoverflow.com/questions/37941837/objc-class-sfsafariviewcontroller-referenced-fromobjc-class-ref-in-googlem

Is it so that I need more recent Xcode, which would include iOS 9.0 SDK (which has the SafariViewController) ??
---
Later.... Now upgraded into 10.12.3 and getting the latest Xcode v. 8.1.2 , hopefully this will give better results.

---
Even later:  After recreating the certs etc.... I can now build succesfully iOS code again.
Note: I had to make a dummy/empty Xcode project first to get application provisioning profiles working from Stencyl.

« Last Edit: March 08, 2017, 03:22:08 pm by cabinfever »