[TIMOB-26404] iOS: Cannot build hyperloop-examples app with Xcode 10 and 7.4.0 SDK
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2018-09-21T18:17:53.000+0000 |
Affected Version/s | Release 7.4.0 |
Fix Version/s | Release 7.4.1 |
Components | n/a |
Labels | ios |
Reporter | Joe Falcone |
Assignee | Ewan Harris |
Created | 2018-09-21T06:14:03.000+0000 |
Updated | 2018-10-03T15:09:30.000+0000 |
Description
We've experienced this with an app that uses Hyperloop that builds fine under 7.3.1 SDK and Xcode 9 but the build fails under 7.4.0 (and latest build 7.4.1) SDK and Xcode 10.
I duplicated the results with the latest hyperloop-examples app on Github so this impacts apps that use Hyperloop (perhaps in a non-trivial manner?).
Basically, the build continues until it would normally say "Invoking xcodebuild" and instead outputs...
[TRACE] : [Hyperloop] metabase took 3882 ms to generate
{color:red}2018-09-21T04:40:05.382Z | ERROR | An uncaught exception was thrown!
Invalid Version: 12.-1.0
2018-09-21T04:40:05.382Z | ERROR | Invalid Version: 12.-1.0{color}
[~jfalcone] I think I've seen people mention this on ti-slack, could you try updating the hyperloop version in the tiapp [module tags](https://github.com/appcelerator/hyperloop-examples/blob/master/tiapp.xml#L67) to 3.1.3, it looks to be 3.1.2 right now. You can get 3.1.3 from here https://github.com/appcelerator-modules/hyperloop-builds/releases
master: https://github.com/appcelerator/titanium_mobile/pull/10332 7_4_X: https://github.com/appcelerator/titanium_mobile/pull/10333
I see the problem in the 3.1.3 description... "Using CocoaPods in Hyperloop does not work with Xcode 10 and iOS 12"
Verified on my system that 7.4.0 SDK + 3.1.3 hyperloop module works. Thank you!
Merged to master and 7_4_X branches.
[~smohammed]The fix for master Alloy projects has just been merged, so this can be re-tested there.
*Closing ticket.* Fix can now be verified in SDK version
7.5.0.v20181003071100
as well.