ios icon indicating copy to clipboard operation
ios copied to clipboard

Build Failure with XCode 8

Open rzeznikj opened this issue 8 years ago • 5 comments

Steps to reproduce

Update XCode to version 8.0 on El Capitan, ensure CocoaPods is installed with Ruby 2.3, attempt to build the app for a device running iOS 9 following the instruction steps given on here, build fails just after clicking "Run" on the Xcode menu.

I'm not sure if it will build on a device running iOS 10 and/or if the Mac is running 10.12 (Sierra) as I currently don't have access to either.

Additional information / things to consider

I would also like to note that some devices cannot be upgraded to iOS 10 (namely some of the older iPads that are still quite common, such as the iPad 2-4) as Apple dropped support. In my case, downgrading Xcode isn't an option as I will need the 10.12 SDKs that come with XCode 8 for maintenance work on my development Mac. As I imagine many users may have such devices, could we still devise a way to make the app usable for those folks?

Poking around and seeing if just tweaking a few of the settings in the Project Navigator will clear the warnings and allow for a build doesn't help; it appears that XCode doesn't pick up the iOS 9.3 SDKs.

Jailbreaking and attempting to jury-rig the app that way (e.g. via Cydia or SSH) also might not be an option as to my knowledge, there isn't a working and simple untethered 9.3.5 jailbreak on older iOS devices as of this writing.

If it turns out that XCode 7 is necessary to build for these older devices, could something be noted on the main page to make sure a Mac user either doesn't upgrade XCode or has to find an earlier version to download?

Expected behavior

Be able to compile the app and install on the device per the given instructions (and which I can verify works with XCode 7).

Actual behavior

Upon opening the project in Xcode, it wants to either convert all of the Swift code to 2.3 or 3 syntax. If you hit "Later" and then try to build per the given instructions, you end up with issues pertaining to code signing against the iOS 10 SDK in the app's tests section and a slew of Swift syntax-related errors in AlamoFire. This fails after clicking "Run" in the instruction steps on the project's main page.

Device Info

Tested on [device], iOS [version]

Tested with iPad3,1 (iPad 3rd Generation), iOS 9.3.5 (build 13G36) Previously worked on the same device with XCode 7.x but the app after a bit wouldn't open any longer, so I decided for a recompile/reinstall. Mac version: OS X 10.11.6 (darwin 15.6 kernel), Xcode 8.0 (8A218a) on an iMac8,1 (early '08 iMac, not directly able to be upgraded to macOS Sierra without hacks)

rzeznikj avatar Sep 17 '16 13:09 rzeznikj

@jacortinas ^

reneklacan avatar Sep 19 '16 13:09 reneklacan

^^ as well. Knew I'd be in trouble when I did the updates, LOL.

ReluctantSub avatar Sep 21 '16 11:09 ReluctantSub

Looking into this! Thank you for reporting it.

jacortinas avatar Sep 21 '16 16:09 jacortinas

I'm not sure if it will build on a device running iOS 10 and/or if the Mac is running 10.12 (Sierra) as I currently don't have access to either.

Just to further add details, I have those versions and same issue. Tried numerous tricks last night but couldn't get it to convert properly without issue.

Anyhow, I'm sure jacortinas has this package in good hands now 📦 (grin)

ReluctantSub avatar Sep 22 '16 08:09 ReluctantSub

@jacortinas what's the status?

reneklacan avatar Oct 05 '16 13:10 reneklacan