Search results for

file uri scheme

78,568 results found

Post

Replies

Boosts

Views

Activity

Reply to UI Testing Failure due to failed AX Action
I am having the same issue, but later in my testing than in launch. Nothing is happening in my app that should be preventing the test from proceeding. If I record the app, it is able to move past but not when it runs the test or any variation of it. The line that fails for me is a button press. It correctly identifies the button but fails when I try to tap the button. t = 46.93s Tap the dropbox files Button t = 46.93s Wait for app to idle t = 76.95s Assertion Failure: UI Testing Failure - App failed to quiesce within 30.0s/xxxxxxx.swift:57: error: -[XXXUITests.XXXXUITests testDropbox] : UI Testing Failure - App failed to quiesce within 30.0s
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Software keyboard performance degrades considerably after continuous use of our app built with Xcode 6
Our app records data for filling out reports. After continuously entering data, the appearance and disappearance of the software keyboard slows down considerably, making the app unusable.This occurs when the ipa file is built with Xcode 6 (SDK 8.3). If we build the ipa file with the same code in Xcode 5 (SDK 7.1), the problem does not occur.When app is experiencing the performance issues, they immediately go away if we connect a hardware keyboard through bluetooth, and come back when we disconnect the keyboard. This is how we determined that it was the actual keyboard and not just when the text field receives focus.The issue occurs whether we are using the default iOS keyboard or a third party keyboard.This issue is occurring in the version of the app that is currently available in the app store, so it wasn't rejected by the app reviewers.We have profiled the code using Time instrument. We see _CfxNotificationPost growing. The response to keyboard events start at 17ms, 120ms, 300ms, 900ms fo
0
0
212
Jun ’15
Supporting the Enterprise with OS X Automation notes
Enterprises are made up of individual people.- When you're building solutions, keep in mind that you're building your tools for peoples' benefit.Workflow strategiesTake advantage of strengthsUse the right tool for the job you're working onIf all you have is a hammer, all your problems look like nails.In reality, only part of the problems you're trying to solve will be nails.Make your workflow modularDesign your workflows so that different modules are being connected together to do the job.Enable repurposing, adaptation and expansion.Code re-use is a good thing.Optimize your workflowProblems will always appear in a enterprise workflow. Anticipate the issues and optimize your automated solution's workflowsEliminate bottlenecksReduce repetitionRemove complexity / confusionDesign your workflows for your usersPeople will avoid complex solutions, they won't like using them if they're hard to understand or operate.People will use convenient solutions, all the time.Pursue inclusionSuccess uses AND (inclusion) conditi
0
0
2.6k
Jun ’15
Reply to Play sound on watch
So was able to get some results. Using the following code from above:if let audioURL = NSBundle.mainBundle().URLForResource(Audio/Beep5, withExtension: caf) { let asset = WKAudioFileAsset(URL: audioURL) let playerItem = WKAudioFilePlayerItem(asset: asset) let player = WKAudioFilePlayer(playerItem: playerItem) switch player.status { case WKAudioFilePlayerStatus.ReadyToPlay: player.play() case WKAudioFilePlayerStatus.Failed: print(player.error) case WKAudioFilePlayerStatus.Unknown: print(unknown) player.play() } }BUT, it doesn't work on the simulator and on the device itself it does require the watch be paired with a bluetooth speaker (which I think defeats the purpose). Not only that, it doesn't work 100% either. I have an app with about 20 different sounds and maybe one or two play correctly about 20% of the time. The reason I can hear hissing on the speaker but no sounds. All my files are mp3, and I haven't tried any other format. But might write another test app to try it out.I think we need to loo
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Abort trap: 6
As I posted in the other thread, I think the Abort Trap: 6 error during compile is the result of failed assertions in the Swift compiler. and different bugs could be causing different assertions to fail but generate the same overall error.They may have the same underlying cause, but your SCNVector3 issue is triggering this assertion:Assertion failed: ((IGF.IGM.DataLayout.getTypeSizeInBits(coercionTy) == IGF.IGM.DataLayout.getTypeSizeInBits(paramTI.StorageType)) && Coerced types should not differ in size!), function emitDirectExternalParameter, file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.38.1/src/swift/lib/IRGen/IRGenSIL.cpp, line 908.and mmuszynski's code is triggering this one:Assertion failed: (gen.getTypeLowering(result.getType()).isTrivial() && nontrivial result is returned unowned?!), function emitObjCReturnValue, file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.38.1/src/swift/lib/SILGen/SILGenBridging.cpp, line 649. I think y
Jun ’15
Reply to "Abort trap: 6" error in Swift 2 with Xcode 7 beta-1
I filed a bug report based on my own situation. Hopefully more people will submit bug reports and Apple will coalesce them. Here's the info:Bug ID: 21376523Title: Adding property of type SCNVector3 yields Abort trap: 6 errorClassification: Serious BugReproducibility: AlwaysDescription:When using Swift 2 with Xcode 7 beta-1 (7A120f), with SceneKit, using SCNVector3 produces Abort trap: 6 compile error. This happens whether a project is migrated from (Swift 1.2 + Xcode 6.3) to (Swift 2 + Xcode 7.0), or with a fresh Swift 2 + Xcode 7.0 project. Error text is below:------------------[COMMAND LINE COMPILER OPTIONS OMITTED BECAUSE OF 3,000 WORD BUG REPORT LIMIT]Assertion failed: ((IGF.IGM.DataLayout.getTypeSizeInBits(coercionTy) == IGF.IGM.DataLayout.getTypeSizeInBits(paramTI.StorageType)) && Coerced types should not differ in size!), function emitDirectExternalParameter, file /Library/Caches/com.apple.xbs/Sources/swiftlang/swiftlang-700.0.38.1/src/swift/lib/IRGen/IRGenSIL.cpp, line 908.0
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Abort trap: 6
Ah, interesting. Well it seems like it's a broad enough problem that it will probably get fixed soon, but you never know. I encourage people to file bug reports anyway (I did, copied in the Swift forum thread).
Jun ’15
Reply to Using San Francisco in an app
This seems to be in conflict with the following statement by Apple:Get your apps ready with the latest beta versions of the San Francisco fonts for iOS 9,OS X El Capitan, and watchOS 2.Found here: https://developer.apple.com/fonts/I was able to download the fonts from the page above. So I am not sure about the source KMT's post and whether is is against the HIG or something for an iOS 9 app? It appears that the post from KMT is from here:https://developer.apple.com/watch/human-interface-guidelines/resources/And it looks like it pertains to resources for WatchOS downloads. But if you download the SF Fonts from the above link, then the Apple License Agreement with with files says this:APPLE INC.LICENSE AGREEMENT FOR THE APPLE SAN FRANCISCO FONTFor iOS and OS X application uses only---So it looks like you can use it with an iOS app and this article seems to confirm that:http://appleinsider.com/articles/15/06/12/apple-releases-san-francisco-system-fonts-for-ios-os-x-and-watchos-2-to-developersThe Font To
Topic: App & System Services SubTopic: General Tags:
Jun ’15
Reply to Error handling not working as expected
As far as I can see, there is nothing wrong with your code. NSFetchRequest resolveEntityWithContext: (called by NSManagedObjectContext executeFetchRequest:error:) throws an Objective-C exception instead of making executeFetchRequest:error: return nil. You cannot catch Objective-C exceptions in Swift, so there is nothing you can do (except file a bug report).
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Reply to Creating an IBOutlet or IBAction from a UIButton within a UITableViewCell subclass in a static UITableView
Have same problem here. But not only outlets don't connect. Assistant editor stops to work properly. I try to delete reference to my class and add it again. I try to delete drived data, clean project, restart xcode, restart OSX, restart computer, whole univers! That didn't works. Then i make another user and voila! It's start to work again! Outlets connects, assistant editor edits, univers spinning round'n'round. I decide that is files permissions problem an try to repair permissions for my current user. But that didn't works again. Is anybody else has this kind of problem? And solutions of cours!
Jun ’15