I just wanted to try to code an OS X app using iCloud so I created a new project then set iCloud on:
Because of iCloud's reputation, I ran the app without any modifications just to see if it works but I have this error (after an alert "Build succeeded"):
I didn't write any code on this project, so what could possibly be wrong? I'm using Xcode 6 Beta 3 on OS X Mavericks, when I'm running other apps from Xcode it works and when I run the app with iCloud set to off it works too.
Related
im doing the iOS Dev Course from Angela Yu right now on Udemy. If i Clone those initial builded Repositories from GitHub, i got many problems with my Simulator on Mac and on my iPhone 12 as well. (using Mac mini m1 with MacOS Monterey 12.4 and xCode 13.4.1).
i write some code which runs fine but if i want to start the build, xCode says "build succeeded" and then nothing happens anymore. Sometimes it just starts fine - seems to be random.
What i've tried:
Reboot Mac
Restart xCode
erase and reset Simulator
choose new Scheme with selected app and set target iOS to 15.4 (and 15.5)
killed all Simulator processes at Task Manager
deleted all Simulator builds and created new ones
reinstalled xCode entirely
tested xCode 13.2.1
yesterday it worked fine ( but there was Projects which we created from scratch ) think it is a problem with repositories which are created 2-3 years ago.
i didn't get any Error Messages... simply "Build Succeeded" -> nothing happens.
Any Ideas? Would Love to complete the Course but it's really frustrating without testing possibilities.
greets
I have been building mac app on my mac mini and it always worked well but today i faced this error, searched a lot but no luck.
Message from debugger: unable to attach
What i tried:
Clear derived data
Quit Xcode
Restart machine
installation directory set to blank and also to /Applications
Tried Skip Install No / Yes
Using developer Signing certs
M using only Developer certificates and not provisioning profile to sign my cocoa app
Xcode 8.2
OSX 10.12.1
Please help :)
This is what fixed it for me, perhaps it will help others but I do realize the question was for 8.2. I had it set to Xcode 9 "New Build System" disabling this and switching to "Standard Build System" in the Project Settings under the File Menu. I had tried all the other things like killing DerivedData, clean build, restarting Xcode. I also verified that my dependent libraries were set correctly. The only thing that worked was disabling new "New Build System"
I just had this problem today. I have little demo code in a mac project(created with Xcode 9.4). This error just started to occur after I upgraded system to macOS Mojave 10.14. However, in Xcode 10 this project runs no problem(without changing anything). If you can use Xcode 10 it will probably be fixed.
Unfortunately, the above solutions didn't work for me (although I am sure they work for some people).
Here is what worked for me, in case this helps anyone else:
Close Xcode
Open Xcode and Create a new Xcode project
In the iOS template, select Single View App then click Next
yes, I know you are trying to get a macOS app attaching to the debugger :).
Give the iOS app any product name and organization identifier you would like and click Next
Create the new project anywhere you would like (I saved it to my desktop)
Build and run (cmd + r) the iOS app on a simulator like the iPhone 8 (starting a simulator and running the iOS app will take a little time, so have patients)
After the iOS app runs in the simulator, click to stop it from running (the stop button is next to the run button)
Open your macOS app that you are having trouble connecting a debugger to, and build and run it (cmd + r)
This, for some reason, allowed me to connect to the debugger with my macOS app...
Xcode version: 10.1, macOS Mojave version: 10.14.2
I have multiple Xcode Apps installed in OS X 10.9.2 to check the compatibility. Now I am facing a problem when I run the app, this error occurs "iOS simulator failed to install the application". I want uninstall all Xcode completely to reinstall latest Xcode 5.1. How can I do that? Thanks.
Xcode Instances
/Applications/Xcode.app (Xcode v5.0.2)
~/Apps/Xcode.app (Xcode v4.6)
Use Appcleaner
or
Just drag and drop Xcode to trash from app folder
Looks like this is a known issue. From the -->>
https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-Xcode/Introduction/Introduction.html
**After switching the minimum deployment target of an application from
iOS 7.0 to a release prior to iOS 7.0, building and running the
application may fail with the message “iOS Simulator failed to
install the application.
” Go to the iOS home screen, click and hold the application icon, then tap the hovering “X” button to delete the application.
**
Another release note:
iOS Simulator If an iOS app is detached, relaunching the same app
from Xcode will result in a black screen in the Simulator even though
the new app is launched. Terminate the app in the Simulator or
relaunch it for the second time.
if you have already developed project and you used xib to develop views then
X-Code > Inspector Selector Bar > Interface Builder Document > opens in > and change from Xcode Default(5.o) to Xcode 4.6 .
Build and Run your app it will run successfully, if it won't run again then, header over to iOS Simulator - Reset Content and Settings. delete old app from simulator then Run again.
my app crashes in the simulator.
Just installed OSX Mavericks with XCode 5.
Developed the app using Corona SDK.
I deleted my old provisioning profiles and created new ones.
my Bundle ID is something like com.company.appname
I get the following error message in the console log from the simulator:
killed testapp[pid xxxx] because its use of the keychain-access-groups entitlement is not allowed (error code -67030)
I already deleted all old project screenshots / files. Don't know what to do.
The compiled app runs fine on my iphone 3gs with iOS 6.1 though.
any help highly appreciated
roman
Corona's engineering team is looking into this. Please add your information to this post on the Corona SDK Forums
http://forums.coronalabs.com/topic/40706-app-crashes-in-xcode-simulator-ios-7-sdk/page-2
I can't debug any application on my iPhone. XCode compiles the application, deploys it to iPhone, says it is running the app, and immediately I see the message "Finished running x.app on iDevice". Although the app crashes, it is copied to the phone. After this crash I can start the application on the phone without problems but can't seem to debug any project on the phone. No old projects, no new projects, everything seems to be broken.
There are lots of advices to solve this problem on SO but none of them helped me a bit.
I use XCode 4.6 on Mac OSX 10.8.2.
had the same problem when i changed the project name and the app name.
i've done several times reset to the simulator 'ios simulator' --> 'reset....'.
try it, also try to delete old app in device and simulator, do 'product' --> 'clean', and then try again.
it sounds silly but its working for me when i has the same issue.
Try changing the Version number in 'deployment target' in your App's target in XCode to something else.
Does it run in your Simulator?
Try running in some other device (some other device version,like 4S or 4)
Is the issue with iPad or iPhone or both?