I did create a command line tool for my iOS project. I would like the binary to be copied to ~/bin folder, just after a successful compilation and linking. What I did so far is:cp ${TARGET_BUILD_DIR}/${PRODUCT_NAME} ~/bin/entered as a pre-action run script in XCode scheme. I am almost happy with that, only except that I unnecessarily need to run the toole to have it copied. I would prefer to enter the above command as a post-action build script, but only if compilation and linking have both been successful.Is there a way to put a condition into post-action build script?
Search results for
build disappears
49,243 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Has anyone tried restoring to an ios 9 backup in iTunes. I just want to do this to get a clean restore and re load all my music/apps and hopefully get rid of some of the other that has been building up. If it is safe to do this without risking losing my content please let me know.
this is my first time installing a beta on my 5s what is the white screen black apple logo loop that kees happening on my device
I just got a new iMac, and installed Xcode 6.3.2 on it. I checked out a copy of my source code repository, and everything runs and builds just fine, but there's one very weird glitch.When I start up Xcode, everything's normal, I can see which files have been modified, and look at their deltas in the Version Editor.However, after a couple of minutes (at most), Xcode will suddenly forget the source code repository, and mark all my files with ? (indicating that it thinks the file is unversioned).In the File Inspector, the files now have Version Not yet committed and Status Unversioned, but they also have a Location corresponding to the repository location (e.g. svn+ssh://repo.flim.com/../trunk/Foo/bar.swift since I happen to be using subversion for this project).From the shell, access to the repository is completely normal - no errors. And if I restart Xcode, everthing works fine - until whatever it is updates, and marks everything as unversioned again.I've been using this configuration for ages without
I took my existing project, ran the project and Swift migrations and now I get the following error when trying to compile.<unknown>:0: error: no such file or directory: '-Onone'I've tried starting over and building without the migrations and it still doesn't work.My project is a hybrid Swift and Objective-C project. The build appears to be failing when trying to compile the Swift module which appears to be for the Watch extension.CompileSwiftSources normal i386 com.apple.xcode.tools.swift.compiler cd /Users/MrRogers/Development/MyProjectPath export PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/WatchSimulator.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -incremental -module-name MyProject_WatchKit_Extension -Onone -sdkSo I removed it from my project and I get the same error message when trying to compile t
Oh, so I had the `SWIFT_OPTIMIZATION_LEVEL` set to `-Onone` in my xcconfig file. Removing that and adding it directly to build settings seems to have worked. Bleh!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
Same here. Every time I try to view a storyboard or .xib in Xcode 7, I get this exception:UNCAUGHT EXCEPTION (NSInvalidArgumentException): *** -containsValueForKey: only defined for abstract class. Define -[NSUnarchiver containsValueForKey:]!I can run the app fine, I just can't actually view or edit my storyboard/.xibs in Xcode anymore!Stack trace:Process: Xcode [4209] Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 7.0 (8123.26) Build Info: IDEFrameworks-8123026000000000~7 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [4209] User ID: 501 Date/Time: 2015-06-10 15:05:14.928 -0400 OS Version: Mac OS X 10.10.3 (14D136) Report Version: 11 Anonymous UUID: 9B7324FE-113A-BF78-0590-ECC7DDE67CD9 Sleep/Wake UUID: A68D9DCC-EE2D-439B-B979-F232409B3139 Time Awake Since Boot: 10000 seconds Time Since Wake: 3700 seconds Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x000000000000000
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
iI've lost a lot of audio after the install the headphone volume is fine, the built-in speakers have lost a lot of their umph. I've got the sound all the way up and you can barely hear anything. I've checked my settings I have not seen anything out of the ordinary.Other then some freezing with the new picture in picture and apps open in the background,the first beta build otherwise has been really good.
I'm getting an Abort Trap: 6 after bringing in over a project from XCode 6.3. Here's what I'm getting in 7.0:CompileSwift normal x86_64 /Users/mike/Cocoa/BitBucket/bassoon-fingerings-3.0/Bassoon Fingerings/MusicStaffView/MusicStaffViewElementLayer.swift cd /Users/mike/Cocoa/BitBucket/bassoon-fingerings-3.0 /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift -frontend -c /Users/mike/Cocoa/BitBucket/bassoon-fingerings-3.0/Bassoon Fingerings/MusicStaffView/MusicStaffViewElement.swift /Users/mike/Cocoa/BitBucket/bassoon-fingerings-3.0/Bassoon Fingerings/MusicStaffView/MusicStaffView.swift /Users/mike/Cocoa/BitBucket/bassoon-fingerings-3.0/Bassoon Fingerings/NotePickerViewController.swift /Users/mike/Cocoa/BitBucket/bassoon-fingerings-3.0/Bassoon Fingerings/FingeringViewController.swift -primary-file /Users/mike/Cocoa/BitBucket/bassoon-fingerings-3.0/Bassoon Fingerings/MusicStaffView/MusicStaffViewElementLayer.swift /Users/mike/Cocoa/BitBucket/bassoon-fingerings-3.0/Ba
Thank God! Oops, sorry :-) I was beginning to think I was the only one with this problem. I can open the storyboard in an OS X app, but I can't open the storyboard in any ios app. And you're right, it builds and runs just fine. Maybe the next update will fix this.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
So, I downloaded Xcode 7 and installed it to be able to use free provisioning to test my app on an iPhone running iOS 8.3 before subscribing to the developer program. Connecting my iPhone, I see it in the toolbar and on the device list in Devices window.I also added my Apple ID in the Preferences' Accounts Tab and it shows Free under iOS and Mac next to my name. Nevertheless when hitting the play/build-and-run button Xcode at first starts building the app but before transferring, I guess, it stops and tells me it was Unable to find a team with the given Team ID '<My ID>' to which you belong. Please contact Apple Developer Program Support. https://developer.apple.com/support, any suggestions what to do?I removed and added my account several times, getting the same message all of the times.
Starting this fall in Xcode 7, everyone who has an Apple ID and is over 13 years old will be able to build apps that run directly on their Apple devices without joining a developer program.Look at here - https://developer.apple.com/education/
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I think the problem lies in that it takes a very long time to install the apps. 5+ minutes for me for simple apps.What I end up doing that works for me is Build/run the iPhone app from Xcode to deploy itStop debugging the app in XcodeMake sure Show App on Apple Watch is enabled for my app in the Apple Watch app on the iPhoneSwitch to the Watch and wait untill the new version of the app is installed (takes forever)Manually launch the app.For the most part I do the same using the Simulator as the install is instant.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
you can downgrade to 8.3 but you have to start a fresh as your restoring from a backup from a later build than 8.3if you have a backup prior to iOS 9 you can use that backup
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I've downloaded the .dmg, copied to Applications, waited for the verification - said 'open' once the verification is done then Xcode crashes. I'm running 10.10.3 which I think should work. I've tried uninstalling, re-downloading and re-doing the process with not luck. Has anyone else encountered this problem? Thanks.This is the error:Process: Xcode [396]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8123.26)Build Info: IDEFrameworks-8123026000000000~7Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [396]User ID: 501Date/Time: 2015-06-10 17:25:29.684 -0400OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: A4A041F0-414B-EB94-4B70-43B0C8715464Time Awake Since Boot: 320 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:ProductBuildVersion: 7A120fASSERTION FAILURE in /Library/Caches/