WatchKit is not available when building for iOS Simulator - ios

I want to run app that have watch target but when try to build on xCode 11.4 This error is raised
"WatchKit is not available when building for iOS Simulator."

Related

IOS xcode 11.7 error running flutter build ios

While running flutter build ios on Xcode 11.7 I faced this error ios pod target-derived data permission denied.image attached enter image description here

Cannot test flutter app on actual iphone, unable to install 'Runner' error on xcode 11.4

I updated Xcode to 11.4 but when I went to test my flutter app on a physical device the error 'Unable to install "Runner" popped up and going into details it said No code signature found. I've already upgraded my iPhone to iOS 13.4 and there's no problem on the simulator.
I've also tried cleaning the xcode build and running flutter clean but the problem persisted. Am I missing another step?
#jmagman said and I quote
"
The bug first appeared in iOS 13.3.1 and is fixed in iOS 13.4 beta 3 (17E5241d). It was not specific to Flutter, was hit at runtime loading an embedded dylib (like Flutter), and can be reproduced without Flutter. It should not impact apps that are already distributed to the App Store (meaning: your customers are not hitting this crash). You should still be able to distribute your application to the App Store.
Workarounds:
Install the beta profile on your test device and install iOS 13.4 beta 3 or higher.
Wait for iOS 13.4 to be released.
Use a non-Personal Team provisioning profile. Personal Team provisioning profile says "Personal Team" in the Xcode build settings Runner Target > General > Signing and Capabilities > Team dropdown.
Run in the simulator.
Test on an iOS device running 13.3 or lower. If you are seeing a similar crash on iOS 13.4 or greater, please file a new Flutter GitHub issue so we can take a look."
check the full thread at https://github.com/flutter/flutter/issues/49504

Xcode 10 watch kit and watch extension build error

I have 3 targets, including the main target, WatchKit app and WatchKit extension.
The project doesn't have any build error in Xcode 9.2 but when I build it in Xcode 10 it has these error:
unable to resolve product type
'com.apple.product-type.application.watchapp' for platform 'watchos'
unable to resolve product type
'com.apple.product-type.watchkit-extension' for platform 'watchos'
I set the "supported platforms" and "base sdk" to watchOS, for both watchapp and extension. but it did not fix this issue.
also I can mention that my app cannot run in watchOS 5.
The developer of this app needs to update it to work with watchOS 5

Facebook review build must work on Xcode 7.3 simulator?

Facebook has rejected a simulator build created with Xcode 9.4.1, targeting iOS 11+, that was submitted for review with the message:
Please ensure that the Simulator Build provided works with Xcode Version 7.3, as this is the software our team uses in review. More information about creating simulator builds can be found here.
Is it possible to create such a build with Xcode 9?
I have tried installing the build I submitted on the Xcode 7.3.1 simulator like this:
DEVELOPER_DIR=/path/to/Xcode-7.3.1.app/Contents/Developer\
&&\
xcrun simctl install booted \
/Path/to/Xcode/DerivedData/App-Identifier/Build/Products/Release-iphonesimulator/App.app
but when I try to launch the app it crashes immediately, leaving an assertion failed: message with some hex digits in the system log. I suspect this is because it does not support iOS 9.3, which the simulator is running, but there could have been other changes to the simulator that are causing it to fail.
The link facebook provided says to run in the Xcode iPhone 5 simulator, but my version of Xcode only seems to have simulators going back to the 5s.
Do I need to make my app run under iOS 9.3? Or re-write it in swift 2.2 so I can build it using xcode 7.3?

unity 5 il2cpp support for ios simulator

Is unity5's IL2CPP support IOS simulator build now? I managed to build a unity exported project in xcode but when it run in simulator mode it crashed with the message dyld: Symbol not found: _CloseZStream.

Resources