Closed jksaunders closed 4 years ago
I finally got mine to work by specifying -destination
in the build command.
In my case name=iPhone11
xcodebuild -workspace ios/example.xcworkspace -scheme example -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build -destination 'name=iPhone 11'
@xyclos Wow! That's all it took to fix this (and potentially the upgrade of detox to latest to support iOS 14). Thank you! I'll open a PR for this.
What's going on?
npm run ios
andnpm run android
work perfectly, as does running through XCode.However, the iOS detox build command does not work out of the box, resulting in the following errors:
I also tried installing the latest version of detox (has iOS 14 support) but no luck there!
Steps to reproduce
ignite new <project name>
- select to include Detoxe2e/readme.md
cd ios && pod install
npm run build:e2e
ignite doctor
results: