Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Package requires Xcode 12 as of version 0.13.1 but requirement is not noted anywhere #174

Closed
bjjeong opened this issue Oct 12, 2020 · 6 comments
Labels
documentation Improvements or additions to documentation needs-review

Comments

@bjjeong
Copy link

bjjeong commented Oct 12, 2020

Environment

"@notifee/react-native": "0.13.1",
"react-native": "0.63.3",

Xcode: 11.6

Issue

When I try to build my app in release mode, I get the following error:

error: exportArchive: ipatool failed with an exception: #<CmdSpec::NonZeroExitException: $ /Applications/Xcode.app/Contents/Developer/usr/bin/python3 /Applications/Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool -v -t /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.6.sdk -o /var/folders/rx/90bsbdvx4vlfvzgxdcg_3mn80000gn/T/ipatool20201012-9880-7sdfqn/thinned-out/arm64/Payload/Bilt.app/Frameworks/NotifeeCore.framework/NotifeeCore --generate-dsym /var/folders/rx/90bsbdvx4vlfvzgxdcg_3mn80000gn/T/ipatool20201012-9880-7sdfqn/thinned-out/arm64/Payload/Bilt.app/Frameworks/NotifeeCore.framework/NotifeeCore.dSYM --strip-swift-symbols /var/folders/rx/90bsbdvx4vlfvzgxdcg_3mn80000gn/T/ipatool20201012-9880-7sdfqn/thinned-in/arm64/Payload/Bilt.app/Frameworks/NotifeeCore.framework/NotifeeCore
Status: pid 10831 exit 1

Failed to compile bundle: /var/folders/rx/90bsbdvx4vlfvzgxdcg_3mn80000gn/T/NotifeeCorevcigcdl6/NotifeeCore.arm64.xar

This occurs in notifee versions 0.13.1 to 0.14.0. All versions before 0.13.1 work fine. Might be somewhat related to #162.

Any suggestions?

@mikehardy
Copy link
Collaborator

Always use the most current Xcode for iOS development, as a general rule for iOS development. We need to support iOS14, so we must use Xcode 12.

I believe it will work fine with Xcode 12.x - it does for me in my project on versions of this repo 0.13.1 and 0.14.0

@bjjeong
Copy link
Author

bjjeong commented Oct 12, 2020

@mikehardy got it, thank you! 👍 it would be helpful to have this listed somewhere, as this was what I suspected but didn't find any documentation of that requirement on the repo or the documentation site.

@mikehardy
Copy link
Collaborator

If you can confirm success after updating Xcode to 12 - to make sure - I'll add it to the docs release notes and install

@bjjeong
Copy link
Author

bjjeong commented Oct 12, 2020

@mikehardy No issues after updating Xcode to 12.

@mikehardy
Copy link
Collaborator

Whew - okay, thanks for the report, I'll re-open this but re-focus it entirely for documentation update. Good luck on your project

@mikehardy mikehardy reopened this Oct 12, 2020
@mikehardy mikehardy added documentation Improvements or additions to documentation needs-review labels Oct 12, 2020
@mikehardy mikehardy changed the title Error: Failed to compile bundle: NotifeeCore.arm64.xar Package requires Xcode 12 as of version 0.13.1 but requirement is not noted anywhere Oct 12, 2020
@helenaford
Copy link
Member

Docs have been update to reflect this requirement. Please see https://notifee.app/react-native/docs/environment-support#additional-requirements

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation needs-review
Projects
None yet
Development

No branches or pull requests

3 participants