Is it possible to run UI tests on a device? I'm trying to do this right now, but it keeps complaining about code signing issues. My tests run fine in the simulator, but if I can run an app, I get this message:None of the valid provisioning profiles allowed the specified entitlements: com.apple.developer.ubiquity-kvstore-identifier, keychain-access-groups, com.apple.developer.icloud-container-identifiers, com.apple.developer.icloud-services, com.apple.security.application-groups, com.apple.developer.ubiquity-container-identifiers.As far as I can tell, there isn't any way to specify these entitlements in the UI Test target, since there is no Capabilities tab there, and there is no way to speciy an app ID that we can create new provisioning profiles against.Any ideas how I should go about this? Really need to run some tests on device; the simulator isn't good enough for rmy tests.
Search results for
A Summary of the WWDC25 Group Lab
10,098 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
this is definiatley a bug - we use this for our app www.odrive.com for finderSyncExtension and our app to share data in a shared application group and it works perfectly on yosemite - has been for close to a year now and it will not work on el capitan. i filed a bug 22488279.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
@Rui Yes, it uses the NSUserDefaults (via App Groups) to read a set of values that the parent app writes. Does this affect the behavior of this method?
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I get the same error. My extension also reads the blocker script from the app group container via NSFileManager. Does this not work with app group sharing?
Topic:
App & System Services
SubTopic:
Core OS
Tags:
My dilemma is that if I disable both Auto Layout and Size Classes, the size of the Storyboard changes which totally throws off every calculation I made to manually position the views and widgets. I have to investigate the extent of the changes to make sure everything still works.But I have also come up with a solution to still have the current Auto Layout/Size Classes, and manually position the views and subviews. I am keeping a flat hierarchy and using tags to group views together under a virtual hierarchy of sort. It's not ideal, but it does what I need to do at the moment.I will come back to revisit this issue by disabling Auto Layout and Size Classes later on, and see what happens.Thanks a lot for your help once again!Fardin.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Hi there, first post here ever.I would like to override ATS selectively when running in debug mode. In the lab I would like to use http, in the real world we use https, and all is fine.Thanks.
We are working on application that supports iPhone and Watch OS2. Application has today’s extension to perform some actions. iPhone application sync all data to Watch OS2 application whenever connected. Today’s extension allow user to log some data. Data logged from Today’s extension couldn’t sync to Watch application until iPhone application get invoked. Today’s extension saves data in shared group and its accessible to iPhone application to get data and reflect into it. iPhone application and watch application communicate using info method of connectivity framework.Is it possible to sync data logged from Today’s extension to watch application without launching iPhone application? Is there any other approach instead of shared group to update iPhone application so it can be sync to watch app also?we would like to share more information if it helps to get better answer. Highly appreciate quick and positive response.
@Steve,Glad to help. Your summary makes some good points that I'm seeing in my configuration also. (I haven't been able to see the logs from the iphone sidein the debugger. I only see the logs from the watch side.)Some very old posts talk about using the console logs to see the output from the iphone. (iphone simulator ->open->system log)But I haven't gotten that to work yet.One suggestion would be to add Xcode Debugger and Simulator to the keyword tags in your post above and hopefully someone can givean update on how to do this in the current release.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hi, the mail programm is crashing betwenn 2 to 8 seconds after the start. i tried to clean the com.apple.mail chache file and also the envelope files. but it dont works... any ideas to solve the problem? the error message is:Process: Mail [3719]Path: /Applications/Mail.app/Contents/MacOS/MailIdentifier: com.apple.mailVersion: 9.0 (3059)Build Info: Mail-3059000000000000~1Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Mail [3719]User ID: 501Date/Time: 2015-08-31 20:32:36.416 +0200OS Version: Mac OS X 10.11 (15A204h)Report Version: 11Anonymous UUID: B1B6D682-8CA4-6AA2-375A-8012A96D31B3Time Awake Since Boot: 8500 secondsCrashed Thread: 23 -[MailboxesOutlineViewStateStorage _updateShouldShowVariables] Dispatch queue: NSOperationQueue 0x7fbc6a682ff0 :: NSOperation 0x7fbc6a6d14a0 (QOS: USER_INTERACTIVE)Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:*** Terminating app due to uncaught exception
Hi, the mail programm is crashing betwenn 2 to 8 seconds after the start. i tried to clean the com.apple.mail chache file and also the envelope files. but it dont works... any ideas to solve the problem? the error message is:Process: Mail [3719]Path: /Applications/Mail.app/Contents/MacOS/MailIdentifier: com.apple.mailVersion: 9.0 (3059)Build Info: Mail-3059000000000000~1Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Mail [3719]User ID: 501Date/Time: 2015-08-31 20:32:36.416 +0200OS Version: Mac OS X 10.11 (15A204h)Report Version: 11Anonymous UUID: B1B6D682-8CA4-6AA2-375A-8012A96D31B3Time Awake Since Boot: 8500 secondsCrashed Thread: 23 -[MailboxesOutlineViewStateStorage _updateShouldShowVariables] Dispatch queue: NSOperationQueue 0x7fbc6a682ff0 :: NSOperation 0x7fbc6a6d14a0 (QOS: USER_INTERACTIVE)Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:*** Terminating app due to uncaught exception
It's definitely possible, the json file that you return doesn't have to come from the app bundle, it could come e.g. from some Library folder where you have put or generated it earlier.To share data between the main app and the extension, you need to set up an App Group that includes both of them and then use either shared app group defaults or shared app group data container.
Topic:
Safari & Web
SubTopic:
General
Tags:
Attempting to learn how to play a sound on the watch. I created a test app (single view) on the phone and added the Watchkit extention to it. The only thing I put on the watch is a button. When the button is pressed, it will play the sound. I have the same sound on the phone part of the test app, and it plays the sound without issue, so I know the sound file is fine. The goal of this exercise it to have the sound played, without a player showing up. In any real apps that I make, the user will not be touching the device for the sound to be played. (From what I've read, the WKInterfaceMovie will play sounds, but it opens up a player, which is not what I'm looking for). Am I not using the correct feature to play sounds, is there something missing from the code below, or is this just a bug that hasn't been addressed yet? class InterfaceController: WKInterfaceController { var player: WKAudioFilePlayer! @IBAction func buttonPlay() { let filePath = NSBundle.mainBundle().pathForResource(SpeakMinder2, ofType: wav)! le
hi when i open the mail programm its closed immediately. any ideas?Process: Mail [1420]Path: /Applications/Mail.app/Contents/MacOS/MailIdentifier: com.apple.mailVersion: 9.0 (3083)Build Info: Mail-3083000000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Mail [1420]User ID: 501Date/Time: 2015-09-01 12:54:36.047 +0200OS Version: Mac OS X 10.11 (15A262e)Report Version: 11Anonymous UUID: B1B6D682-8CA4-6AA2-375A-8012A96D31B3Sleep/Wake UUID: F390E0AA-5D97-4D04-BC40-CECAC4AA5051Time Awake Since Boot: 1500 secondsTime Since Wake: 250 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<HeadersEditor 0x7ff105b0a7f0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key _documentEditor.'abort() calledterminating with unca
Hi Max,i had a little difficulty performing the log. Sorry for all the threads:Sep 1 07:07:36 localhost bootlog[0]: BOOT_TIME 1441105656 0Sep 1 07:08:24 localhost syslogd[47]: Configuration Notice: ASL Module com.apple.AccountPolicyHelper claims selected messages. Those messages may not appear in standard system log files or in the ASL database.Sep 1 07:08:24 localhost syslogd[47]: Configuration Notice: ASL Module com.apple.Accounts claims selected messages. Those messages may not appear in standard system log files or in the ASL database.Sep 1 07:08:27 --- last message repeated 1 time ---Sep 1 07:08:24 localhost syslogd[47]: Configuration Notice: ASL Module com.apple.authd sharing output destination /var/log/asl with ASL Module com.apple.asl. Output parameters from ASL Module com.apple.asl override any specified in ASL Module com.apple.authd.Sep 1 07:08:24 localhost syslogd[47]: Configuration Notice: ASL Module com.apple.authd sharing output destination /var/log/system.log with ASL Module com.apple.asl. Outp
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I have non-consumable Apple hosted content IAP added to the In-App Purchases information for my app in iTunes Connect.I created the content project using the Xcode template.If I try to submit the content using the archiver, I get the can't unzip the package error.So I use the Application Loader to upload the content. It is successful, and the Application Loader logs show complete success yet even after waiting 24hrs, the IAP product is still in the Waiting for upload state. I have tried deleting and starting over with a different ID. No matter what I do and no matter how many times the Application loader says Succes. No Success.Any ideas for what to do next would be most welcome.Application Loader Log-----------[2015-09-01 14:05:58 EDT] <main> INFO: Performing uploadDone notification to Apple for package F....04.itmsp ........[2015-09-01 14:06:03 EDT] <main> INFO: Done performing uploadDone notification to Apple.[2015-09-01 14:06:03 EDT] <main> INFO: The package: /......04.itmsp has been suc