Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bitcode_strip error when installling with SPM #10

Open
jjjeeerrr222 opened this issue Mar 8, 2023 · 11 comments
Open

bitcode_strip error when installling with SPM #10

jjjeeerrr222 opened this issue Mar 8, 2023 · 11 comments

Comments

@jjjeeerrr222
Copy link

jjjeeerrr222 commented Mar 8, 2023

/Users/J/Library/Developer/Xcode/DerivedData/Wy-cijstrmptjpvsefuifunplfthmwd/SourcePackages/checkouts/snap-kit-spm/SCSDKCoreKit.xcframework/ios-arm64/SCSDKCoreKit.framework bitcode_strip /Users/JSH/Library/Developer/Xcode/DerivedData/Wy-cijstrmptjpvsefuifunplfthmwd/SourcePackages/checkouts/snap-kit-spm/SCSDKCoreKit.xcframework/ios-arm64/SCSDKCoreKit.framework/SCSDKCoreKit: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/bitcode_strip exited with 1

Making sdk unusable

@SebMenozzi

This comment was marked as resolved.

@nexig
Copy link

nexig commented May 11, 2023

Hi @SebMenozzi
After adding this two flags I am getting:

MyApp.app/Frameworks/SCSDKCoreKit.framework: bundle format unrecognized, invalid, or unsuitable

  • Command PhaseScriptExecution failed with a nonzero exit code

It looks like sdk is unusable.
Xcode 14.3

@nexig
Copy link

nexig commented May 19, 2023

@driefler @mwestergaardsc
Are you able to help ?

@SebMenozzi
Copy link

@nexig I personally never had your issue but maybe https://stackoverflow.com/a/38751921 will help?

@wangchaodong
Copy link

same issue here

@wangchaodong
Copy link

@nexig I personally never had your issue but maybe https://stackoverflow.com/a/38751921 will help?

that's not work for me

@dennisgec
Copy link

I ended up using 2.3.0 instead of 2.4.0 🤷‍♂️

@MrRealBlack
Copy link

I ended up using 2.3.0 instead of 2.4.0 🤷‍♂️

Thanks for helping. It was a huge one

@dams229
Copy link

dams229 commented Nov 21, 2023

2.3.0 doesn't work on the simulator (crash at runtime). So we end up with a 2.3.0 not working on simulator or 2.4.0 not working on device...

@kingmeers
Copy link

2.3.0 doesn't work on the simulator (crash at runtime). So we end up with a 2.3.0 not working on simulator or 2.4.0 not working on device...

I tried doing this, but every time i run the app and install it on my real device, it starts to open, but then crashes with

libc++abi: terminating with uncaught exception of type NSException

Wondering if you have any more info on how you got this working? Just trying to post an image with text+link to snap stories.

@kingmeers
Copy link

I got this working by installing with Carthage, however 2.4.0 wouldn't work at all, there's an issue with sharing a photo to Snapchat, so I had to downgrade to 2.3.0. I don't think there's a way to easily do that on Carthage (that is, to specify a version) so I forked the repo and added only one version for SCSDKLoginKit & SCSDKCreativeKit; 2.3.0

You can see it here, or make your own fork.

This is my Cartfile that works fine.

binary "https://raw.githubusercontent.com/hero-page/snap-kit-carthage-max2.3.0/repo/SCSDKLoginKit.json"
binary "https://raw.githubusercontent.com/hero-page/snap-kit-carthage-max2.3.0/repo/SCSDKCreativeKit.json"

BTW, I'm also currently trying to resolve an issue whereby the attachmentUrl is not properly porting to snap from SCSDKSnapAPI, would love any help from a snap employee or someone with an answer, whichever comes first!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants