-
Notifications
You must be signed in to change notification settings - Fork 85
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
Error when building an app that has an Apple Watch companion app #795
Labels
bug
Something isn't working
Comments
I can confirm @sweetpalma 's solution works and prevents the original error. So this ticket might be closed, but perhaps the Expo team could add a warning that properly describes what's missing. |
This was referenced Dec 2, 2021
Merged
@yolpsoftware @sweetpalma This should be fixed in the latest eas-cli version. |
Is there a way to do this without ejecting? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
As demonstrated in the following example project
https://github.com/yolpsoftware/eas-watch-test
eas build
throws an error if you attempt to publish an app that has an Apple Watch companion app.This can be reproduced with the following steps:
expo init eas-watch-test
cd eas-watch-test
expo eject
cd ios && pod install && cd ..
ios/easwatchtest.xcodeworkspace
in Xcodeeas build
and confirm all default optionsThe build will fail with the following error message:
Please note that according to Apple, you need to publish the app as one package. If you build it in Xcode, it will bundle everything in one package, even though we have more than one build target. To me, it seems that
eas build
tries to submit the Watch app separately.Environment
EAS CLI 0.38.1 environment info:
System:
OS: macOS 12.0.1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 17.0.1 - /opt/homebrew/bin/node
Yarn: 1.22.17 - /opt/homebrew/bin/yarn
npm: 8.1.0 - /opt/homebrew/bin/npm
Utilities:
Git: 2.32.0 - /opt/homebrew/bin/git
npmPackages:
expo: ~43.0.2 => 43.0.3
react: 17.0.1 => 17.0.1
react-dom: 17.0.1 => 17.0.1
react-native: 0.64.3 => 0.64.3
react-native-web: 0.17.1 => 0.17.1
npmGlobalPackages:
eas-cli: 0.38.1
expo-cli: 4.13.0
Error output
No response
Reproducible demo or steps to reproduce from a blank project
See description.
The text was updated successfully, but these errors were encountered: