xCode 9.0 beta (9M136h) run on device: Failed to find a suitable device for the type IBSimDeviceTypeiPad2x - xcode9

When I tried to run out app in device with Xcode 9.0 beta (9M136h), I got the following errors.
/xxxx/Assets.xcassets: Failed to find a suitable device for the type
IBSimDeviceTypeiPad2x (com.apple.dt.Xcode.IBSimDeviceType.iPad-2x) with runtime iOS
11.0 (11.0 - 15A5278f) - com.apple.CoreSimulator.SimRuntime.iOS-11-0
Does there any suggestion for this issue?

I just uninstalled the app that was on the phone (maybe from a previous beta) and then it worked fine.

Related

Expo Error running Xcode iOS Simulator: No iPhone devices available in Simulator

I'm having an issue running iOS simulator from Expo. I'm seeing these two errors:
Trying to open the project in iOS simulator...
Opening iOS simulator
iOS Simulator device failed to boot. Try opening Simulator first, then running your app.
Error installing or running app. Error: Timed out waiting for iOS Simulator device to boot.
Trying to open the project in iOS simulator...
Booting device in iOS simulator...
There was a problem booting a device in iOS Simulator. Quit Simulator, and try again.
Error installing or running app. Error: No iPhone devices available in Simulator
An iPhone 5s with iOS 11.2 is clearly available and works in Xcode simulator with a simple project ran from Xcode which tells me this is an Expo issue.
I'm using:
Expo version: 3.4.1
Xcode version: 9.2
Mac OS: 10.12.6
Please note - I cannot upgrade my OS. So Xcode version 9.2 is what I must use.
Things I've tried:
set command line tools as correct Xcode version with path /Applications/Xcode.app
delete all simulators and re-add them
start simulator before running app / start simulator after running app
delete all contents under Library/Developer/CoreSimulator/Devices/
I know this question has been asked before, but no solid answer has been given. Maybe someone has figured it out since then.
your phone runs a newer version of software, so you won't be able to use Xcode version 9.2, you have to use 11.2 or newer before running it on your own phone.
if you want it to work with a newer version of iOS, you have to link the device files of newer Xcode version to the version you use.
https://community1.pega.com/community/pega-support/question/building-mobile-apps-newer-ios-versions-older-xcode-versions
this link should help you with your problem, just follow their steps
you have to do this because each iOS has its own files which comes with the new versions of Xcode
I hope this helps you;)

Paired device unavailable for development - after OSX Sierra and watchOS 3.1

After upgrading my Macbook to OS X Sierra and my Apple Watch to watchOS 3.1, I've been getting the following error in the Xcode run project target item:
"Paired device unavailable for development"
It looks like people have encountered this in the past and this specific StackOverflow answer is linked when someone has this problem:
iOS: Watch Kit paired device unavailable for development
However, I've done every single solution that has been listed and I'm still getting this issue. Is there any reason in particular why upgrading to Sierra and watchOS 3.1 would have caused this issue?
Downloading the latest xcode beta (8.1 beta 3) appears to fix this issue
I have the same problem. After I deleted Xcode 9.1 beta then open project with Xcode 9.0. I found that my deployment target is auto set to iOS 11.1 which higher my iPhone OS. After change target to iOS 9.0 it worked.

warning MT1108: Could not find developer tools for this 9.0 (13A344) device

I am having an issue with debugging my iOS application. When I try and run it on iOS9 it comes back with the following log:
Connected to: iPhone 5 warning MT1003: Could not kill the
application 'com.<....>'. You may have to kill the
application manually.
warning MT1108: Could not find developer tools
for this 9.0 (13A344) device. Please ensure you are using a compatible
Xcode version and then connect this device to Xcode to install the
development support files.
error MT1007: Failed to launch the
application 'com.<....>' on the device
'iPhone 5': Look for earlier warnings returned: 0x454. You can still
launch the application manually by tapping on it.
I believe this is related to few other things online:
https://forums.xamarin.com/discussion/15886/getting-compile-time-error-mt1007
Warning MT1108 after ios update
Xcode 7 with iOS 9 device Error: device unavailable (Could not find a developer disk image) ?
My guess to solving this would have been to simply download Xcode 7 ( I am running Xcode 6.4 at the moment). However I am slightly hesitant because Xamarin's website suggests differently?
To ensure your existing Xamarin.iOS apps run smoothly on iOS 9,
download the latest Xamarin.iOS release (8.10.3.2) from our Stable
channel (or if you have the previously released 8.10.1.74 that will
also work) (release info) then re-build and re-deploy your apps using
Xcode 6 on OS X Yosemite.
This will allow your existing apps to run in iOS 9 previews, and be
ready for the public release of iOS 9.
Obviously, my app does install and normally on the iOS9 device. However I can't debug which makes development not ideal...
I have the latest Xamarin updates and I am running on OSX 10.10.4
All help would be greatly appreciated.
If you want to just simply rebuild your app so it runs on iOS 9 (but build against iOS 8 SDK) then you can ignore the warning and tap the app to launch it and connect the debugger and continue from there (as it mentions).
If you're looking to use the new iOS 9 APIs in your application, then you'll need to get Xcode 7 installed.

iOS Simulator 7.1 crash running on Yosemite with weak linked new frameworks (Symbol not found: _objc_isAuto)

I have just updated to xCode 6.1 and had to reinstall my iOS 7 simulators.
I can run my app on all the simulators apart from the 5s iOS 7.1 sim.
I get this crash
dyld: Symbol not found: _objc_isAuto
Referenced from: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/lib/libobjc.A.dylib
in /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
(lldb)
What gives? Any ideas why this sim crashes?
Thanks
This issue can occur if you are building your project against the iOS 8.x SDKs and are weak linking a framework that is new to iOS 8.x and also present in OS X 10.10 and you run in the iOS 7.1 simulator.
The Xcode 6.1 Release Notes mention this issue:
If an app is weak linked against frameworks new in iOS 8 SDK and OS X
10.10 SDK, it may fail to run if the run destination is an iOS Simulator for older iOS runtimes and the host system is running OS X
Yosemite. (17807439)
The issue is resolved in the updates iOS 7.1 simulator runtime that can be downloaded from Xcode 6.2 beta 4 an later (and I think possibly beta3 worked as well).

Xcode cannot run using the selected device on 7.1.1

I got the following error:
Xcode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
xcode 5.0.2 (5A3005)
iphone 4S with iOS 7.1.1
Development Target is 7.0
Code signing Provisioning profile is set to IOS Team Provisioning Profile.
In Xcode -> Window -> Organizer - Devices
The version of iOS on is not supported by this installation of the iOS SDK. Please restore the device to a version of the OS listed below, or update to the latest version of the iOS SDK; which is available here.
OS Installed on
7.1.1 (11D201)
Xcode Supported iOS Versions
Not sure why the xcode supported IOS versions is blank here.
Already tried to project clean, remove device and reconnect and set target to lower version. None of these methods work.
Please advise.
thank you
After upgrading to Xcode 5.1.1, it's working fine now.
Thx

Resources