Search results for

Xcode

92,291 results found

Post

Replies

Boosts

Views

Activity

How to code an alert in OS X (10.12.1) and Xcode 8.1 using Swift 3?
I'm running OS X (10.12.1), Xcode 8.1 and Swift 3 on my MacBook Pro (all are updated automatically). For a MacOS application (not iOS), I want to show an alert when an invalid user entry is input. I've researched a zillion examples and tried many of them, but none work. And, a good number of them send my Playground into a loop (dreaded color wheel) from which I have to reboot (the latest of these is attached).My question is: What is the proper Swift 3 code to create an alert in the environment and the conditions described above occur?
2
0
605
Dec ’16
Code-coverage data not generated when tests are run via X-Code bots.
I am running the application on Version 9.0 beta (9M136h). When I run the UI tests, code coverage report contains numbers for the test file as well for the main project. (Screenshot1). However, If I run the same tests using bots, no code coverage data is generated for the files in the main application, only for the files in the test application. (Screenshot 2)https://www.dropbox.com/sh/25lplykpxvpwpup/AADCe7mGHZl1bhCSIq-v69IWa?dl=0In the project scheme, have gather code coverage data enabled.
0
0
5.4k
Jun ’17
Automatic Code Signing does not work with custom entitlements in xCode 9.X
Summary:Given an app which uses custom entitlements for provisioning profiles, as granted by Apple, Xcode is unable to configure automatic code signing for that app.It seems as though Xcode has no idea about the concept of custom entitlements granted to a specific provisioning profile, such as com.apple.developer.payment-pass-provisioning.Steps to Reproduce:Create an bundle ID on the dev portal and an app on iTunes Connect.Create a provisioning profile on the dev portal.Give that bundle ID/app privileges for the com.apple.developer.payment-pass-provisioning entitlement.Enable that entitlement for the provisioning profile.Configure the entitlements for your app in Xcode to contain the com.apple.developer.payment-pass-provisioning entitlement.Configure automatic code signing in Xcode.Build and run.Expected Results: Xcode creates and downloads a provisioning profile using the com.apple.developer.payment-pass-provisioning entitlement. The build succeeds as the provisioning prof
3
0
2.3k
Jun ’18
Reply to xcode-beta 7 hang fix?
Same Problem - simulator giving constant SpringBoard errors and unable to open any XIB's. When I try to open a XIB, X-Code 7 crashes....In fact can not compile anything now.... even though I have re-installed X-code 7 from scatch...Have had to fall back on my old iMac running OS X 10.4 for the moment... such a waste of time when instead I am used to running everything on my iMac Retina.Here's to hoping Apple solves this soon !
Aug ’15