Search results for

Xcode

92,308 results found

Post

Replies

Boosts

Views

Activity

Reply to App thinning and syncing with iTunes
I have the same question. I still have the mentality of my computer as a digital hub, and also I like to keep backups of all of my apps for whichever devices they ultimately are destined for.In the WWDC talk there was a mention of Xcode Server being able to keep a complete copy of the app and doing the thinning locally. Perhaps the same functionality could be built into a future version of iTunes? I would think that iTunes would *have* to get a complete copy of each app, otherwise how would the store know which versions it will need to send? If I connect a new device to my Mac, I really would hate to have to fetch new copies of all of my apps...Of course the App Store would still have to do the compiling of all versions to send to iTunes, since the new upload format is some kind of bytecode (as I understand it). And I doubt *that* functionality would be added to iTunes.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Xcode 7.0 Beta Throwing Heaps of Errors, update OS X?
The first step is probably to go to the Product menu in your project in Xcode and hold down the option key and choose Clean Build Folder..., to make sure there isn't any previously compiled code causing problems because of incompatibility.I don't think upgrading OS X to the El Capitan would improve anything for you, since a lot of us are just running Xcode 7 beta on Yosemite.If you haven't already backed up your project, you might want to do that before updating the code further, just in case you end up deciding to go back and wait.Assuming there isn't isn't anything really weird going on with your project, you would just need to work your way through it fixing the errors and warnings generated by the compiler. There can be a lot of new errors and warnings because of the changes between Swift 1.2 and 2 and the updates to Cocoa, but most of the errors and warnings should be relatively trivial to fix (changing var to let, updating the old generic sort/map/filter/find
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Swift 1.2 and Swift 2 in the same project?
They did, however, promise binary compatibility so I'm sure they could find a way to allow you to keep using Swift 1.2 in Xcode 7.It's a little disappointing that I won't be able to test the new APIs in iOS9 or take advantage of improvements to LLDB until this all goes stable already, at which point my feedback has much less impact.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Best practice for setting CFBundleVersion automatically
With the newest releases of iOS and iTunesConnect, Apple is more and more restrictive about what´s happening in your CFBundleVersion of your Extensions.I tried to fiddle around with Run Script Build Phases, such as this:#!/bin/sh INFOPLIST_EXT=${TARGET_BUILD_DIR}/${INFOPLIST_PATH} echo Extension writing to $INFOPLIST_EXT PLISTCMD=Set :CFBundleVersion $(git rev-list --all|wc -l) echo -n $INFOPLIST_EXT | xargs -0 /usr/libexec/PlistBuddy -c $PLISTCMDHowever, this seems to work for some types of Extensions (WatchKit), but for some others it doesn´t (Today Widget). In my cases, I seem to access the $TARGET_BUILD_DIR before there´s content in it. Using $BUILT_PRODUCTS_DIR delivers the same error.Extension writing to /Users/marc/Library/Developer/Xcode/DerivedData/MyApp-focpnqzzpnqsfyaqwwocwpujmhmh/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/UninstalledProducts/TopNewsWidget.appex/Info.plist Set: Entry, :CFBundleVersion, Does Not Exist File Doesn't Exist, Will Create: /Users/m
6
0
7.2k
Jun ’15
console output in playgrounds 7
Hi,just wondering if the console output has been removed in playgrounds 7?A console panel is available for print() statements in playgrounds 6 when displaying assistant editor, but nothing shows up in (xcode) playgrounds 7. Is this a beta bug or have console panels been deprecated?.-nick
4
0
4.4k
Jun ’15
UserDomainMask
I have downloaded some Code which had previously worked for the coder, who was able to run ok on his App.However when I try to use the code to save data to iphone memory I get an Error Message stating ...Use of unresolved Identifier UserDomainMask..I have tried using NSUserDomiainMask to replace it and that doesn't seem to solve the problem.It seems that the coder may have been using a Beta version of Xcode 6 for his App.Can anyone please tell me what should replace UserDomainMask in the code below?/ func documentsDirectory() -> string { let documentsFolderPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask, UserDomainMask, true)[0] as String return documentsFolderPath }Kind Regards.Del
0
0
329
Jun ’15
Reply to Error refreshing profiles in xcode
Hello ! Try Only to log out with your DEV Accout on Xcode and re Login normally it should fix this Problem . This is a Bug which appears from time to time in Xcode Versions But I don't know why. For me this solution works everytime the bug appears . So check it out . With best regards Philipp
Jun ’15