bitstadium / HockeySDK-iOS

HockeyApp was retired and the SDKs are deprecated. Please use App Center instead.
https://github.com/microsoft/appcenter-sdk-apple
Other
597 stars 268 forks source link

Xcode 8.1 - 'bundle format unrecognized, invalid, or unsuitable' #363

Closed Stengo closed 7 years ago

Stengo commented 7 years ago

Building in Xcode 8.1 raises the error: HockeySDKResources.bundle: bundle format unrecognized, invalid, or unsuitable Command /usr/bin/codesign failed with exit code 1

HockeySDK version is 4.1.2 (via CocoaPods as a static library)

ElektrojungeAtWork commented 7 years ago

Hi @Stengo,

I just tried to reproduce the issue with yesterday's Xcode build – Xcode 8.1 (8B62) – and Cocoapods 1.1.1. I don't see the issue that you are seeing, integration and building works fine for me. Can you check the version of your Cocoapods installation and remove HockeySDK from your app and add it back? Other than that, if you continue to see the issue, can you setup a new app with one of Xcode's templates and integrate the SDK? If this works, there is something off with your project setup. Independently from that, feel free to get in touch through support where we can share more details about your project setup in private.

Best, Benjamin

simonbromberg commented 7 years ago

I have the same problem. I have setup a new app as you suggested and got the same problem.

I am using Cocoapods 0.39.0.

Edit: Updating to Cocoapods 1.1.1 fixed the issue for me. I had held off of updating because I had problems with 1.0.1, but those problems seem to have been fixed in 1.1.1.

ElektrojungeAtWork commented 7 years ago

@simonbromberg thanks for letting us know. I just reproduced the issue here with 0.39, too. Seems to be an issue with cocoapods 0.3.9 and Xcode 8.1 GM and not with our SDK.

Let us know in case you run into issues again and have a nice weekend 🖖

ElektrojungeAtWork commented 7 years ago

@Stengo can you try to update to Cocoapods 1.1.1?

Stengo commented 7 years ago

@TroubleMakerBen updating to Cocoapods 1.1.1 fixed the issue! Thank you for the quick support :)

ElektrojungeAtWork commented 7 years ago

Anytime guys, I hope you had a great start into your week!

🖖