When I clean Xcode DerivedData I can't run my app in iOS Simulator
In Xcode 6.0.1,I have to delete all my data in DerivedData,then I run my app,it builds successfully but I can’t run it on the iOS Simulator iPhone 5.
Xcode warning :
Invalid or missing Program/ProgramArguments
How to do the flip animation between two UIViewControllers while clicking info button? Why does simple website crash on mobile (iOS Safari and Chrome, at least)? ScrollView gesture recognizer eating all touch events iOS8 and Xcode - How to distribute an embedded framework with cocoa pod dependencies Handling Game Center authentication Objective-C determine data network type of the iOS device
Can anyone help me ?
- Resolving problems in XCode 7 crash reporter
- Getting the URL of picture taken by camera with Photos Framework
- Google Maps URL scheme not working on iOS 9
- How to use autolayout to scale view for all screen sizes?
- UIDocumentInteractionController not working in iPad Simulator (XCode 3.2.3)
- Using enum in Objective-C?
3 Solutions Collect From Internet About “When I clean Xcode DerivedData I can't run my app in iOS Simulator”
I was facing this issue when i migrated my project from xcode 6.4 to xcode 7 beta 6.
To solve this issue, you have to :
From top menu options GOTO,
xcode -> Preferences (cmd + ,) -> Locations
select the command line tool to your current version.
Now run your app, it should work fine.
One of the following worked for me:
- cleaning project (Product/Clean)
- cleaning derived data (Window/Projects)
- reopening XCode and the project
- removing the scheme and re-creating it (Product/Scheme/Manage Schemes)
- changing location of Derived Data (XCode/Preferences/Locations, changing Derived Data to: Relative)
I had the same issue and noticed that Xcode created few build directories in different places all of a sudden.
So i went to build setting and revisited all build locations, quit Xcode, deleted all build locations directories, started XCode, cleaned build, revisited again and this fixed the issue.
Not sure what caused it at the 1st place though:)
- Conditional Environment Variables in Xcode
- iOS unrecognized selector sent to instance in Swift
- Check Battery Level iOS Swift
- Custom fonts in Interface Builder
- iPhone: Setting Navigation Bar Title
- Bundle.main.path(forResource:ofType:inDirectory:) returns nil
- Is there any way to programmatically set the camera focus off an iOS device to infinity?
- What is this double underscore in Cocoa
- Compile libogg for iOS using Xcode5.1 error
- Not including non-retina display images in an iPhone project
- How can I reset iOS 9 Universal Linking settings?
- No such module 'Parse' following Parse iOS Swift Quickstart guide
- iOS, what should I set architectures setting in my project?
- Game lagging when AVAudioPlayer plays
- How do I enable directional lock for a UIScrollView?