Xcode 10.2 Failed to Run App on Simulator with iOS < 10How to “add existing frameworks” in Xcode 4?How to download Xcode DMG or XIP file?Can I safely delete contents of Xcode Derived data folder?iOS app with framework crashed on device, dyld: Library not loaded, Xcode 6 BetaXcode process launch failed: SecurityXcode error “Could not find Developer Disk Image”Xcode 8, iOS 8 simulator with crash: “dyld: lazy symbol binding failed: Symbol not found: _objc_unsafeClaimAutoreleasedReturnValue”Objective-C method returning a dictionary of Class crashes in Xcode 10.2xcode 10.2 can't run iOS 8.1 simulator when add contacts.framework which set to optional, xcode will crash
What's the difference between a share and a stock?
Does order of events matter in Bayesian update?
To which airspace does the border of two adjacent airspaces belong to?
Why did the Joi advertisement trigger K?
Does the Scrying spell require you to have a clear path to the target in order to work?
Time to call the bluff
How can I oppose my advisor granting gift authorship to a collaborator?
What did Boris Johnson mean when he said "extra 34 billion going into the NHS"
Count rook moves 1D
What is the significance of 104%?
Japanese equivalent for "get to do something"?
Why do old games use flashing as means of showing damage?
Tiny image scraper for xkcd.com
Question about derivation of kinematics equations
Plotting level sets of the form f(x,y,c)==0
About ratio test
Which is the best password hashing algorithm in .NET Core?
std::tuple sizeof, is it a missed optimization?
Deleting millions of records on SQL Server 14.0
How did Gollum know Sauron was gathering the Haradrim to make war?
When making yogurt, why doesn't bad bacteria grow as well?
Strange formulas that gave rise to Koszul duality
Does POSIX guarantee the paths to any standard utilities?
Given a specific computer system, is it possible to estimate the actual precise run time of a piece of Assembly code
Xcode 10.2 Failed to Run App on Simulator with iOS
How to “add existing frameworks” in Xcode 4?How to download Xcode DMG or XIP file?Can I safely delete contents of Xcode Derived data folder?iOS app with framework crashed on device, dyld: Library not loaded, Xcode 6 BetaXcode process launch failed: SecurityXcode error “Could not find Developer Disk Image”Xcode 8, iOS 8 simulator with crash: “dyld: lazy symbol binding failed: Symbol not found: _objc_unsafeClaimAutoreleasedReturnValue”Objective-C method returning a dictionary of Class crashes in Xcode 10.2xcode 10.2 can't run iOS 8.1 simulator when add contacts.framework which set to optional, xcode will crash
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I was playing around with Xcode 10.2 since the update and when I try to run my app on ANY simulator with iOS version less than 10, the simulator will not start and crash then show the error below:
dyld: Library not loaded: /usr/lib/libauto.dylib Referenced from:
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
Reason: no suitable image found. Did find: /usr/lib/libauto.dylib:
mach-o, but not built for iOS simulator
I tried to create another new project fresh without touching anything, set the deployment target to iOS 9 and run on iOS 9 simulator again, same error was shown.
UPDATE
It seems like this issue only occur when your code base contain swift. Created a new project with objective c code base did not crash the simulator. For swift yes.
SUMMARY
- Xcode 10.2 contain swift code unable to run app on simulator with iOS 9
- I have done all the cleaning and delete derive data and the issue still persist.
Anyone has any idea ?
FINAL UPDATE
Apple just release Xcode 10.2.1 and it is part of the known issue for simulator, please refer to the link below for the workaround/fix:
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Appreciate @russbishop 's reply, answer accepted
ios xcode dyld xcode10.2
|
show 1 more comment
I was playing around with Xcode 10.2 since the update and when I try to run my app on ANY simulator with iOS version less than 10, the simulator will not start and crash then show the error below:
dyld: Library not loaded: /usr/lib/libauto.dylib Referenced from:
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
Reason: no suitable image found. Did find: /usr/lib/libauto.dylib:
mach-o, but not built for iOS simulator
I tried to create another new project fresh without touching anything, set the deployment target to iOS 9 and run on iOS 9 simulator again, same error was shown.
UPDATE
It seems like this issue only occur when your code base contain swift. Created a new project with objective c code base did not crash the simulator. For swift yes.
SUMMARY
- Xcode 10.2 contain swift code unable to run app on simulator with iOS 9
- I have done all the cleaning and delete derive data and the issue still persist.
Anyone has any idea ?
FINAL UPDATE
Apple just release Xcode 10.2.1 and it is part of the known issue for simulator, please refer to the link below for the workaround/fix:
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Appreciate @russbishop 's reply, answer accepted
ios xcode dyld xcode10.2
I have exactly the same problem, same Xcode version. Tried cleaning / reinstalling. Even tried some magic with provisioning profile / certificates. Still does not work.
– Konstantin
Mar 28 at 11:47
I have the same problem. :(
– Michel Marqués
Mar 29 at 14:09
I have same issue
– alexander.pan
Apr 6 at 3:40
Does this bug only apply to simulator, or will it also break on an iOS 9.3 device?
– Bridger Maxwell
Apr 14 at 14:21
It worked with real device 9.3.5. But not work with the simulator.
– ko2ic
Apr 15 at 7:03
|
show 1 more comment
I was playing around with Xcode 10.2 since the update and when I try to run my app on ANY simulator with iOS version less than 10, the simulator will not start and crash then show the error below:
dyld: Library not loaded: /usr/lib/libauto.dylib Referenced from:
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
Reason: no suitable image found. Did find: /usr/lib/libauto.dylib:
mach-o, but not built for iOS simulator
I tried to create another new project fresh without touching anything, set the deployment target to iOS 9 and run on iOS 9 simulator again, same error was shown.
UPDATE
It seems like this issue only occur when your code base contain swift. Created a new project with objective c code base did not crash the simulator. For swift yes.
SUMMARY
- Xcode 10.2 contain swift code unable to run app on simulator with iOS 9
- I have done all the cleaning and delete derive data and the issue still persist.
Anyone has any idea ?
FINAL UPDATE
Apple just release Xcode 10.2.1 and it is part of the known issue for simulator, please refer to the link below for the workaround/fix:
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Appreciate @russbishop 's reply, answer accepted
ios xcode dyld xcode10.2
I was playing around with Xcode 10.2 since the update and when I try to run my app on ANY simulator with iOS version less than 10, the simulator will not start and crash then show the error below:
dyld: Library not loaded: /usr/lib/libauto.dylib Referenced from:
/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
Reason: no suitable image found. Did find: /usr/lib/libauto.dylib:
mach-o, but not built for iOS simulator
I tried to create another new project fresh without touching anything, set the deployment target to iOS 9 and run on iOS 9 simulator again, same error was shown.
UPDATE
It seems like this issue only occur when your code base contain swift. Created a new project with objective c code base did not crash the simulator. For swift yes.
SUMMARY
- Xcode 10.2 contain swift code unable to run app on simulator with iOS 9
- I have done all the cleaning and delete derive data and the issue still persist.
Anyone has any idea ?
FINAL UPDATE
Apple just release Xcode 10.2.1 and it is part of the known issue for simulator, please refer to the link below for the workaround/fix:
https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Appreciate @russbishop 's reply, answer accepted
ios xcode dyld xcode10.2
ios xcode dyld xcode10.2
edited Apr 18 at 0:57
JyTee
asked Mar 28 at 1:58
JyTeeJyTee
3783 silver badges7 bronze badges
3783 silver badges7 bronze badges
I have exactly the same problem, same Xcode version. Tried cleaning / reinstalling. Even tried some magic with provisioning profile / certificates. Still does not work.
– Konstantin
Mar 28 at 11:47
I have the same problem. :(
– Michel Marqués
Mar 29 at 14:09
I have same issue
– alexander.pan
Apr 6 at 3:40
Does this bug only apply to simulator, or will it also break on an iOS 9.3 device?
– Bridger Maxwell
Apr 14 at 14:21
It worked with real device 9.3.5. But not work with the simulator.
– ko2ic
Apr 15 at 7:03
|
show 1 more comment
I have exactly the same problem, same Xcode version. Tried cleaning / reinstalling. Even tried some magic with provisioning profile / certificates. Still does not work.
– Konstantin
Mar 28 at 11:47
I have the same problem. :(
– Michel Marqués
Mar 29 at 14:09
I have same issue
– alexander.pan
Apr 6 at 3:40
Does this bug only apply to simulator, or will it also break on an iOS 9.3 device?
– Bridger Maxwell
Apr 14 at 14:21
It worked with real device 9.3.5. But not work with the simulator.
– ko2ic
Apr 15 at 7:03
I have exactly the same problem, same Xcode version. Tried cleaning / reinstalling. Even tried some magic with provisioning profile / certificates. Still does not work.
– Konstantin
Mar 28 at 11:47
I have exactly the same problem, same Xcode version. Tried cleaning / reinstalling. Even tried some magic with provisioning profile / certificates. Still does not work.
– Konstantin
Mar 28 at 11:47
I have the same problem. :(
– Michel Marqués
Mar 29 at 14:09
I have the same problem. :(
– Michel Marqués
Mar 29 at 14:09
I have same issue
– alexander.pan
Apr 6 at 3:40
I have same issue
– alexander.pan
Apr 6 at 3:40
Does this bug only apply to simulator, or will it also break on an iOS 9.3 device?
– Bridger Maxwell
Apr 14 at 14:21
Does this bug only apply to simulator, or will it also break on an iOS 9.3 device?
– Bridger Maxwell
Apr 14 at 14:21
It worked with real device 9.3.5. But not work with the simulator.
– ko2ic
Apr 15 at 7:03
It worked with real device 9.3.5. But not work with the simulator.
– ko2ic
Apr 15 at 7:03
|
show 1 more comment
6 Answers
6
active
oldest
votes
This is a known bug affecting iOS 8.x and 9.x. You can work around it by creating /usr/lib/swift directories in the relevant simulator runtime root.
Downloaded simulator runtimes are located in /Library/Developer/CoreSimulator/Profiles/Runtimes.
For example, to fix the iOS 9.3 simulator:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
2
Before running mkdir, make sure that the 'iOS 9.3.simruntime' does not exists already. For me, the '.../RuntimeRoot/usr/lib/swift' was missing the 'swift' folder. Simply navigating to '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib' and creating a dir for 'swift' fix it.
– bauerMusic
May 23 at 11:58
I've tried countless solutions and only this one worked. Thank you very much!
– Fan Jin
Aug 3 at 18:39
add a comment |
Me also got the same problem when run in iOS 9.0 simulator.
From https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Simulators for iOS 9.3 and earlier might fail to launch Swift apps with the message: “dyld: Library not loaded: /usr/lib/libauto.dylib”. (49326587)
Workaround: Run the following command in Terminal for the relevant version of iOS:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
For this apple given above solution in that link.
Simply
--> open Terminal
--> Type this line with your required version (In my case i changed into iOS 9.3 to iOS 9.0)
Ex: sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
--> Enter password
--> Now clean Xcode and run again
This above solution worked for me.
add a comment |
Still get this bug with Xcode 10.3. (Skipped over 10.2.)
1
It's not Swift 10.3
– iOS
Aug 14 at 9:16
thnks iOS -- edited to Xcode 10.3
– Hugo F
Aug 15 at 10:35
add a comment |
A rather annoying workaround: use Xcode 10.1 to deploy on 9.x simulators for now. It's the only way I've been able to get around this.
1
won't work if anyone's project is ported to swift 5.
– Ratul Sharker
May 6 at 3:01
1
Yeah great point. Just refer to the top answer and the official work around:sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
– cumanzor
May 7 at 14:47
add a comment |
This seems like an iOS Simulator bug. I see this happening on simulators with iOS 12.0 but not on those with 12.4.
This saved my sanity!! Yes, it seems to be a simulator 12.0 bug only.
– user1366265
Aug 16 at 16:58
add a comment |
Updating to Xcode 10.3 has fixed it for me.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55389080%2fxcode-10-2-failed-to-run-app-on-simulator-with-ios-10%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
6 Answers
6
active
oldest
votes
6 Answers
6
active
oldest
votes
active
oldest
votes
active
oldest
votes
This is a known bug affecting iOS 8.x and 9.x. You can work around it by creating /usr/lib/swift directories in the relevant simulator runtime root.
Downloaded simulator runtimes are located in /Library/Developer/CoreSimulator/Profiles/Runtimes.
For example, to fix the iOS 9.3 simulator:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
2
Before running mkdir, make sure that the 'iOS 9.3.simruntime' does not exists already. For me, the '.../RuntimeRoot/usr/lib/swift' was missing the 'swift' folder. Simply navigating to '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib' and creating a dir for 'swift' fix it.
– bauerMusic
May 23 at 11:58
I've tried countless solutions and only this one worked. Thank you very much!
– Fan Jin
Aug 3 at 18:39
add a comment |
This is a known bug affecting iOS 8.x and 9.x. You can work around it by creating /usr/lib/swift directories in the relevant simulator runtime root.
Downloaded simulator runtimes are located in /Library/Developer/CoreSimulator/Profiles/Runtimes.
For example, to fix the iOS 9.3 simulator:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
2
Before running mkdir, make sure that the 'iOS 9.3.simruntime' does not exists already. For me, the '.../RuntimeRoot/usr/lib/swift' was missing the 'swift' folder. Simply navigating to '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib' and creating a dir for 'swift' fix it.
– bauerMusic
May 23 at 11:58
I've tried countless solutions and only this one worked. Thank you very much!
– Fan Jin
Aug 3 at 18:39
add a comment |
This is a known bug affecting iOS 8.x and 9.x. You can work around it by creating /usr/lib/swift directories in the relevant simulator runtime root.
Downloaded simulator runtimes are located in /Library/Developer/CoreSimulator/Profiles/Runtimes.
For example, to fix the iOS 9.3 simulator:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
This is a known bug affecting iOS 8.x and 9.x. You can work around it by creating /usr/lib/swift directories in the relevant simulator runtime root.
Downloaded simulator runtimes are located in /Library/Developer/CoreSimulator/Profiles/Runtimes.
For example, to fix the iOS 9.3 simulator:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
edited Apr 20 at 1:29
answered Apr 16 at 17:28
russbishoprussbishop
11.2k4 gold badges45 silver badges62 bronze badges
11.2k4 gold badges45 silver badges62 bronze badges
2
Before running mkdir, make sure that the 'iOS 9.3.simruntime' does not exists already. For me, the '.../RuntimeRoot/usr/lib/swift' was missing the 'swift' folder. Simply navigating to '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib' and creating a dir for 'swift' fix it.
– bauerMusic
May 23 at 11:58
I've tried countless solutions and only this one worked. Thank you very much!
– Fan Jin
Aug 3 at 18:39
add a comment |
2
Before running mkdir, make sure that the 'iOS 9.3.simruntime' does not exists already. For me, the '.../RuntimeRoot/usr/lib/swift' was missing the 'swift' folder. Simply navigating to '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib' and creating a dir for 'swift' fix it.
– bauerMusic
May 23 at 11:58
I've tried countless solutions and only this one worked. Thank you very much!
– Fan Jin
Aug 3 at 18:39
2
2
Before running mkdir, make sure that the 'iOS 9.3.simruntime' does not exists already. For me, the '.../RuntimeRoot/usr/lib/swift' was missing the 'swift' folder. Simply navigating to '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib' and creating a dir for 'swift' fix it.
– bauerMusic
May 23 at 11:58
Before running mkdir, make sure that the 'iOS 9.3.simruntime' does not exists already. For me, the '.../RuntimeRoot/usr/lib/swift' was missing the 'swift' folder. Simply navigating to '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib' and creating a dir for 'swift' fix it.
– bauerMusic
May 23 at 11:58
I've tried countless solutions and only this one worked. Thank you very much!
– Fan Jin
Aug 3 at 18:39
I've tried countless solutions and only this one worked. Thank you very much!
– Fan Jin
Aug 3 at 18:39
add a comment |
Me also got the same problem when run in iOS 9.0 simulator.
From https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Simulators for iOS 9.3 and earlier might fail to launch Swift apps with the message: “dyld: Library not loaded: /usr/lib/libauto.dylib”. (49326587)
Workaround: Run the following command in Terminal for the relevant version of iOS:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
For this apple given above solution in that link.
Simply
--> open Terminal
--> Type this line with your required version (In my case i changed into iOS 9.3 to iOS 9.0)
Ex: sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
--> Enter password
--> Now clean Xcode and run again
This above solution worked for me.
add a comment |
Me also got the same problem when run in iOS 9.0 simulator.
From https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Simulators for iOS 9.3 and earlier might fail to launch Swift apps with the message: “dyld: Library not loaded: /usr/lib/libauto.dylib”. (49326587)
Workaround: Run the following command in Terminal for the relevant version of iOS:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
For this apple given above solution in that link.
Simply
--> open Terminal
--> Type this line with your required version (In my case i changed into iOS 9.3 to iOS 9.0)
Ex: sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
--> Enter password
--> Now clean Xcode and run again
This above solution worked for me.
add a comment |
Me also got the same problem when run in iOS 9.0 simulator.
From https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Simulators for iOS 9.3 and earlier might fail to launch Swift apps with the message: “dyld: Library not loaded: /usr/lib/libauto.dylib”. (49326587)
Workaround: Run the following command in Terminal for the relevant version of iOS:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
For this apple given above solution in that link.
Simply
--> open Terminal
--> Type this line with your required version (In my case i changed into iOS 9.3 to iOS 9.0)
Ex: sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
--> Enter password
--> Now clean Xcode and run again
This above solution worked for me.
Me also got the same problem when run in iOS 9.0 simulator.
From https://developer.apple.com/documentation/xcode_release_notes/xcode_10_2_1_release_notes
Simulators for iOS 9.3 and earlier might fail to launch Swift apps with the message: “dyld: Library not loaded: /usr/lib/libauto.dylib”. (49326587)
Workaround: Run the following command in Terminal for the relevant version of iOS:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
For this apple given above solution in that link.
Simply
--> open Terminal
--> Type this line with your required version (In my case i changed into iOS 9.3 to iOS 9.0)
Ex: sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
--> Enter password
--> Now clean Xcode and run again
This above solution worked for me.
answered Apr 18 at 11:08
iOSiOS
4,8662 gold badges38 silver badges63 bronze badges
4,8662 gold badges38 silver badges63 bronze badges
add a comment |
add a comment |
Still get this bug with Xcode 10.3. (Skipped over 10.2.)
1
It's not Swift 10.3
– iOS
Aug 14 at 9:16
thnks iOS -- edited to Xcode 10.3
– Hugo F
Aug 15 at 10:35
add a comment |
Still get this bug with Xcode 10.3. (Skipped over 10.2.)
1
It's not Swift 10.3
– iOS
Aug 14 at 9:16
thnks iOS -- edited to Xcode 10.3
– Hugo F
Aug 15 at 10:35
add a comment |
Still get this bug with Xcode 10.3. (Skipped over 10.2.)
Still get this bug with Xcode 10.3. (Skipped over 10.2.)
edited Aug 15 at 10:32
answered Jul 28 at 16:50
Hugo FHugo F
3812 silver badges7 bronze badges
3812 silver badges7 bronze badges
1
It's not Swift 10.3
– iOS
Aug 14 at 9:16
thnks iOS -- edited to Xcode 10.3
– Hugo F
Aug 15 at 10:35
add a comment |
1
It's not Swift 10.3
– iOS
Aug 14 at 9:16
thnks iOS -- edited to Xcode 10.3
– Hugo F
Aug 15 at 10:35
1
1
It's not Swift 10.3
– iOS
Aug 14 at 9:16
It's not Swift 10.3
– iOS
Aug 14 at 9:16
thnks iOS -- edited to Xcode 10.3
– Hugo F
Aug 15 at 10:35
thnks iOS -- edited to Xcode 10.3
– Hugo F
Aug 15 at 10:35
add a comment |
A rather annoying workaround: use Xcode 10.1 to deploy on 9.x simulators for now. It's the only way I've been able to get around this.
1
won't work if anyone's project is ported to swift 5.
– Ratul Sharker
May 6 at 3:01
1
Yeah great point. Just refer to the top answer and the official work around:sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
– cumanzor
May 7 at 14:47
add a comment |
A rather annoying workaround: use Xcode 10.1 to deploy on 9.x simulators for now. It's the only way I've been able to get around this.
1
won't work if anyone's project is ported to swift 5.
– Ratul Sharker
May 6 at 3:01
1
Yeah great point. Just refer to the top answer and the official work around:sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
– cumanzor
May 7 at 14:47
add a comment |
A rather annoying workaround: use Xcode 10.1 to deploy on 9.x simulators for now. It's the only way I've been able to get around this.
A rather annoying workaround: use Xcode 10.1 to deploy on 9.x simulators for now. It's the only way I've been able to get around this.
answered Mar 29 at 20:21
cumanzorcumanzor
967 bronze badges
967 bronze badges
1
won't work if anyone's project is ported to swift 5.
– Ratul Sharker
May 6 at 3:01
1
Yeah great point. Just refer to the top answer and the official work around:sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
– cumanzor
May 7 at 14:47
add a comment |
1
won't work if anyone's project is ported to swift 5.
– Ratul Sharker
May 6 at 3:01
1
Yeah great point. Just refer to the top answer and the official work around:sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'
– cumanzor
May 7 at 14:47
1
1
won't work if anyone's project is ported to swift 5.
– Ratul Sharker
May 6 at 3:01
won't work if anyone's project is ported to swift 5.
– Ratul Sharker
May 6 at 3:01
1
1
Yeah great point. Just refer to the top answer and the official work around:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'– cumanzor
May 7 at 14:47
Yeah great point. Just refer to the top answer and the official work around:
sudo mkdir '/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 9.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift'– cumanzor
May 7 at 14:47
add a comment |
This seems like an iOS Simulator bug. I see this happening on simulators with iOS 12.0 but not on those with 12.4.
This saved my sanity!! Yes, it seems to be a simulator 12.0 bug only.
– user1366265
Aug 16 at 16:58
add a comment |
This seems like an iOS Simulator bug. I see this happening on simulators with iOS 12.0 but not on those with 12.4.
This saved my sanity!! Yes, it seems to be a simulator 12.0 bug only.
– user1366265
Aug 16 at 16:58
add a comment |
This seems like an iOS Simulator bug. I see this happening on simulators with iOS 12.0 but not on those with 12.4.
This seems like an iOS Simulator bug. I see this happening on simulators with iOS 12.0 but not on those with 12.4.
answered Aug 7 at 9:08
Mihai DamianMihai Damian
6,2168 gold badges48 silver badges77 bronze badges
6,2168 gold badges48 silver badges77 bronze badges
This saved my sanity!! Yes, it seems to be a simulator 12.0 bug only.
– user1366265
Aug 16 at 16:58
add a comment |
This saved my sanity!! Yes, it seems to be a simulator 12.0 bug only.
– user1366265
Aug 16 at 16:58
This saved my sanity!! Yes, it seems to be a simulator 12.0 bug only.
– user1366265
Aug 16 at 16:58
This saved my sanity!! Yes, it seems to be a simulator 12.0 bug only.
– user1366265
Aug 16 at 16:58
add a comment |
Updating to Xcode 10.3 has fixed it for me.
add a comment |
Updating to Xcode 10.3 has fixed it for me.
add a comment |
Updating to Xcode 10.3 has fixed it for me.
Updating to Xcode 10.3 has fixed it for me.
answered Jul 23 at 14:30
Hino BHino B
12 bronze badges
12 bronze badges
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55389080%2fxcode-10-2-failed-to-run-app-on-simulator-with-ios-10%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I have exactly the same problem, same Xcode version. Tried cleaning / reinstalling. Even tried some magic with provisioning profile / certificates. Still does not work.
– Konstantin
Mar 28 at 11:47
I have the same problem. :(
– Michel Marqués
Mar 29 at 14:09
I have same issue
– alexander.pan
Apr 6 at 3:40
Does this bug only apply to simulator, or will it also break on an iOS 9.3 device?
– Bridger Maxwell
Apr 14 at 14:21
It worked with real device 9.3.5. But not work with the simulator.
– ko2ic
Apr 15 at 7:03