Search results for

show when run

112,802 results found

Post

Replies

Boosts

Views

Activity

Reply to Maze example not working
Just giving more info.The project Maze-iOS does run (after a reboot, don't know why). The OS X version does not. I haven't updated my OS to the beta 10.11. Could this be the problem or the sdk on xCode 7 should do the work?Tks.
Topic: Graphics & Games SubTopic: General Tags:
Jun ’15
Reply to Can I post source code (NDA)
I would like to know the answer to this as well. Actually I have a broader question. Are we allowed to publicly discuss prerelease APIs/software in general? It seems that last year Apple loosened its NDA, so that you could publicly talk about unreleased/still in beta APIs, so for example we started seeing tutorials/discussions/code samples for iOS 8-specific APIs show up on sites such as Ray Wenderlich, Stack Overflow, etc. months before iOS 8 actually shipped. The only restriction semeed to be that you could not post screenshots of prerelease software. Does this still hold true this year for iOS 9/WatchOS 2/El Capitan/Xcode 7?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
How to check for 10.11 El Capitan at runtime
https://developer.apple.com/library/prerelease/mac/releasenotes/AppKit/RN-AppKit/index.html suggests using something like this code to check for El Capitan at runtime: if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_9) { NSLog(@Something old); } else if (floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_10) { NSLog(@Yosemite); } else { NSLog(@El Capitan); }The problem is that this code when run on Yosemite outputs El Capitan.As far as I can tell, the NSAppKitVersionNumber on 10.10.3 is 1347, while NSAppKitVersionNumber10_10 is defined at 1343.
2
0
602
Jun ’15
on device only - dyld: Library not loaded
My app workspace has a subproject that compiles a framework, which the app obviously depends on. If I run my iOS8 compiled app on an iOS9 iPhone, works fine. If I compile for iOS9 and run on simulator, runs fine.But - if I run iOS9 compiled app on a device, it crashes on launch. Specifically, console complains that dyld: Library not loaded [snip] Reason: no suitable image found.Anybody else run into this with iOS9 ? Or ideas around it?
2
0
630
Jun ’15
Do we still need to add devices to the portals?
The developer homepage says that with Xcode 7, a person can run their app on their device, even if they do not have a developer membership.Do the devices still needed to be added to the portal? Xcode seems to imply that they do, but I would like to clarify because we have a lot of devices (some broken, some lost) and would like to not have to add devices just to test the app (Adding to the portal to install betas is fine)
0
0
324
Jun ’15
Watch app does not update...
I can not get the CMD-R run function to update my watch display. I have made changes to my storyboard yet when I run the app again (and again), there is no change in the view. My changes to the view include resizing and changing the alignment of a group within a group. I've delete the app from my phone and had mixed results with running the app again. Sometimes the app won't appear on the watch face with the xcode display showing Waiting to attach. What techniques do I need to use to avoid any associated bugs or other issues with the two devices communications to get through the development process with less hassle?
1
0
189
Jun ’15
directions search in iOS 9 fails with SSL error
When making a call to get directions, e.g. MKDirections calculateDirectionsWithCompletionHandler:(MKDirectionsHandler)completionHandler...in iOS9 simulator, every call fails with an SSL error. Here's the error trace:2015-06-13 13:33:35.302 DriveTime[2007:362234] CFNetwork SSLHandshake failed (-9824)2015-06-13 13:33:35.304 DriveTime[2007:362234] NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9824)2015-06-13 13:33:35.305 DriveTime[2007:361377] PBRequester failed with Error Error Domain=NSURLErrorDomain Code=-1200 An SSL error has occurred and a secure connection to the server cannot be made. UserInfo=0x7fb1bb2085f0 {_kCFStreamErrorCodeKey=-9824, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7fb1b23b6f90 An SSL error has occurred and a secure connection to the server cannot be made., NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://gsp-ssl.ls.apple.com
9
0
41k
Jun ’15
Reply to Re: New LLVM compiler introduces hang using gcd
Why would you expect that two of them wouldn't run at the same time? (that's actually what you've asked GCD to do: run them all concurrently). I'm actually surprised that it only happens occasionally. You also have no synchronization around the numThreads variable, so it is not being accessed in a thread-safe manner.If you really don't want them to execute concurrently, use a serial queue instead of one of the global (concurrent) queues.
Jun ’15
iOS 9 CoreData NSFetchedResultsController update causes blank rows in UICollectionView/UITableView
Description:I have separate classes that run NSFetchedResultsController on both UITableView and UICollectionView. They've been working in iOS 8. Since iOS 9, I occasionally get the console error below on NSManagedObject updates. The changes to NSManagedObject is valid and saves properly to persistent store. However, the UI for UITableView/UICollectionView backed by the NSFetchedResultsController breaks and shows blank rows.Console:Assertion failure in -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:]CoreData: error: Serious application error. An exception was caught from the delegate of NSFetchedResultsController during a call to -controllerDidChangeContent:. attempt to delete and reload the same index path (<NSIndexPath: 0xc000000000400016> {length = 2, path = 0 - 2}) with userInfo (null)Update:iOS9 Beta 2 not fixed and no solution yet, but below's the line that's causing the trouble: self.tableView.reloadRowsAtIndexPaths()Seems like it's having t
55
0
34k
Jun ’15
Reply to BLE scan may freeze randomly
Do you have anything else running that is using BLE?I've found an bug in iOS 8 (which is still there in the current minor-release) wherein if you have both a Debug build application trying to scan, and a Release build (i.e. App Store) application, the Debug application will stop receiving scans; this presents as the callback no longer being called, precisely the way you describe.
Jun ’15
Reply to CoreBluetooth Playground
I'm surprised it even manages that since you don't keep the playground running at the end by running the runloop or usingimport XCPlayground ... XCPSetExecutionShouldContinueIndefinitely(true)However even when I add those I get unsupported and that's my observation too, CoreBluetooth code returns unsupported in the playground environment, even the OSX playground environment. I wouldn't expect it to work in the iOS playground because CB doesn't work in the iOS sim, I would have expected it to work in the OSX one however .. but it appears not to.I came here to see if anyone had the same experience, seems you do.If you compile your code into a quick executable I suspect you'll find it works fine. Annoying however, I wanted to test some CB stuff as I was writing it.Oddly enough this does work fine in the REPL, but that's not terribly helpful.
Jun ’15