Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

163,106 results found

Post

Replies

Boosts

Views

Activity

2 entries of Transparent App proxy
In my Mac OS Transparent App proxy code I activate the extension LoadAllPref Set NETunnelProviderProtocol & NETransparentProxyManager configurations SavePref Again LoadAllPref get the connection object startVPNTunnelAndReturnError This is working good in most of the case . sometimes I see 2 entries of my extension in Network Preferences and both the entries are yellow (not connected ). is there any known issue around this or any way to workaround this issue ?
6
0
986
Sep ’20
COMPARING 2 STRINGS
I am trying to compare two strings and then do something. The first string is a string that is captured in UITextView using the following code:********************************** func updateIncomingData () { NotificationCenter.default.addObserver(forName: NSNotification.Name(rawValue: Notify), object: nil , queue: nil) { notification in let appendString = n let myFont = UIFont(name: Helvetica Neue, size: 30.0) let myAttributes2 = [NSFontAttributeName: myFont!, NSForegroundColorAttributeName: UIColor.red] let attribString = NSAttributedString(string: + (characteristicASCIIValue as String) + appendString, attributes: myAttributes2) let newAsciiText = NSMutableAttributedString(attributedString: self.consoleAsciiText!) self.password_P_F.attributedText = NSAttributedString(string: characteristicASCIIValue as String , attributes: myAttributes2) newAsciiText.append(attribString) self.consoleAsciiText = newAsciiText self.password_P_F.attributedText = self.consoleAsciiText let pwmatch:String = The p
2
0
600
Sep ’17
Optimal way to merge 2 apps
Searching for insight on the best and most compliant way to essentially merge two apps. They have the same functionality but one is much more advanced than the other, although the legacy app has a higher user count. Instead of letting both run, we want to push the legacy app an update with the code from the new app and ultimately kill the newer one. What is the best way to do this? Is it allowed to simply push the source code from new app to legacy and update the identifier? We do not wan't to break any app store rules and want to limit the potential of losing users by forcing them to download a new app.
2
0
1.1k
Dec ’23
Xcode 8 can't archive “Command /usr/bin/codesign failed with exit code 1” part 2
I continue to have the problem that Geezus wrote about here:https://forums.developer.apple.com/message/178039#178039And although part of the problem is resolved by KMT's suggestion toTry:execute xattr -rc . both in DerivedData directory and Project directoryThat workaround only works for me when I'm building for a simulator or attached device.But when I try to Archive so I can load to TestFlight/iTunes Conect, the origianl problem persists:resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1I understand the original thread is closed, but since I'm still having trouble, I hope someone can offer additional help.
10
0
4.4k
Sep ’16
Reply to Subscription on digital item warranting physical product(s)
You are not 'in between' two rules, you are violating one or the other because you are conflating two products - the physical good and the digital good. If you are giving away the digital good then fine - that is, if you issue 10 $0 value QR codes to users who don't subscribe then you are not unlocking code using the subscription and there is no problem.
Mar ’18
Predictive Code Completion
In Xcode16Beta4, it contains Predictive Code Completion, and Predictive Code Completion is also with other SDKs in the page opened by Xcode for the first time. Waiting for download. However, I want to know: 1. What is Predictive Code Completion? 2. I didn't download Predictive Code Completion on the SDK download page when I first opened Xcode. Where should I download it later?
1
0
1.2k
Jul ’24
Reply to Rookie Question about SpriteKit Wizard in Swift
I don't know the answer for sure, but the code as originally written is slightly more subtle than your re-writes. There are 3 possible cases:1. a SKView2. a NSView that is not a SKView3. nilThe original code will crash deliberately on case 2 (which is a mis-configured storyboard, in effect), and branch on the difference between 1 and 3. Your 1st rewrite branches on 2 and 3, and your second rewrite crashes on 2 and 3.In any actual use case, where you have direct control over the storyboard, you can probably customize the code to require a top-level SKView (or subclass), in which case your second rewrite may well be sufficient, and less confusing to future readers of the code.
Topic: Programming Languages SubTopic: Swift Tags:
Jan ’17
New 2 step authentication
Curious if those running the older 2 step verification have turned the feature off and back on to try the new 2 step authentication with iOS 9 and OS X 10.11? The Apple public beta document doesn't say much about this so I thought I'd ask here. I'm running the original 2 step verification and would like to give the new version a go but not if folks hae been seeing major issues with the switch. Thanks in advance!
1
0
522
Jul ’15
Installing beta 2?
I clicked on the update for b2, which took me to the iTunes page to redeem the code, which I did.A few minutes later it brought the installer up. I quit out of the installer as I was in the midst of other work, but when I went back to install the update, it just reinstalled beta1.When I go back to the download page and reenter my download code, it says it's already been redeemed.Why is this so hard to download? I have 3 test machines I want to upgrade, and I'm at a loss of how to download the latest.Would love any insight.- wave
7
0
1.5k
Jul ’16
Reply to Swift Playground “Learn to Code 2” expert command “turnLockUp()”
Expert.turnLockUp doesn’t seem to work in 5.1 Learn to Code 2.
Replies
Boosts
Views
Activity
Sep ’21
2 entries of Transparent App proxy
In my Mac OS Transparent App proxy code I activate the extension LoadAllPref Set NETunnelProviderProtocol & NETransparentProxyManager configurations SavePref Again LoadAllPref get the connection object startVPNTunnelAndReturnError This is working good in most of the case . sometimes I see 2 entries of my extension in Network Preferences and both the entries are yellow (not connected ). is there any known issue around this or any way to workaround this issue ?
Replies
6
Boosts
0
Views
986
Activity
Sep ’20
COMPARING 2 STRINGS
I am trying to compare two strings and then do something. The first string is a string that is captured in UITextView using the following code:********************************** func updateIncomingData () { NotificationCenter.default.addObserver(forName: NSNotification.Name(rawValue: Notify), object: nil , queue: nil) { notification in let appendString = n let myFont = UIFont(name: Helvetica Neue, size: 30.0) let myAttributes2 = [NSFontAttributeName: myFont!, NSForegroundColorAttributeName: UIColor.red] let attribString = NSAttributedString(string: + (characteristicASCIIValue as String) + appendString, attributes: myAttributes2) let newAsciiText = NSMutableAttributedString(attributedString: self.consoleAsciiText!) self.password_P_F.attributedText = NSAttributedString(string: characteristicASCIIValue as String , attributes: myAttributes2) newAsciiText.append(attribString) self.consoleAsciiText = newAsciiText self.password_P_F.attributedText = self.consoleAsciiText let pwmatch:String = The p
Replies
2
Boosts
0
Views
600
Activity
Sep ’17
beta 10 versions 2?
Where can I find and download beta 10 version 2?
Replies
5
Boosts
0
Views
353
Activity
Jul ’16
Optimal way to merge 2 apps
Searching for insight on the best and most compliant way to essentially merge two apps. They have the same functionality but one is much more advanced than the other, although the legacy app has a higher user count. Instead of letting both run, we want to push the legacy app an update with the code from the new app and ultimately kill the newer one. What is the best way to do this? Is it allowed to simply push the source code from new app to legacy and update the identifier? We do not wan't to break any app store rules and want to limit the potential of losing users by forcing them to download a new app.
Replies
2
Boosts
0
Views
1.1k
Activity
Dec ’23
Reply to Swift-frontend and sourceKitServices takes 30+GB memory
I found the issue on code because of that those two services are running and taking memory here is the code let intArrayOfIds = self.respsonseDict.map{ Int($01234567890) ?? 0}
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’23
iOS 9 beta 2
When beta 2 is released, where do I go to download it?
Replies
4
Boosts
0
Views
837
Activity
Jun ’15
Xcode 8 can't archive “Command /usr/bin/codesign failed with exit code 1” part 2
I continue to have the problem that Geezus wrote about here:https://forums.developer.apple.com/message/178039#178039And although part of the problem is resolved by KMT's suggestion toTry:execute xattr -rc . both in DerivedData directory and Project directoryThat workaround only works for me when I'm building for a simulator or attached device.But when I try to Archive so I can load to TestFlight/iTunes Conect, the origianl problem persists:resource fork, Finder information, or similar detritus not allowedCommand /usr/bin/codesign failed with exit code 1I understand the original thread is closed, but since I'm still having trouble, I hope someone can offer additional help.
Replies
10
Boosts
0
Views
4.4k
Activity
Sep ’16
Reply to Subscription on digital item warranting physical product(s)
You are not 'in between' two rules, you are violating one or the other because you are conflating two products - the physical good and the digital good. If you are giving away the digital good then fine - that is, if you issue 10 $0 value QR codes to users who don't subscribe then you are not unlocking code using the subscription and there is no problem.
Replies
Boosts
Views
Activity
Mar ’18
Predictive Code Completion
In Xcode16Beta4, it contains Predictive Code Completion, and Predictive Code Completion is also with other SDKs in the page opened by Xcode for the first time. Waiting for download. However, I want to know: 1. What is Predictive Code Completion? 2. I didn't download Predictive Code Completion on the SDK download page when I first opened Xcode. Where should I download it later?
Replies
1
Boosts
0
Views
1.2k
Activity
Jul ’24
Reply to Rookie Question about SpriteKit Wizard in Swift
I don't know the answer for sure, but the code as originally written is slightly more subtle than your re-writes. There are 3 possible cases:1. a SKView2. a NSView that is not a SKView3. nilThe original code will crash deliberately on case 2 (which is a mis-configured storyboard, in effect), and branch on the difference between 1 and 3. Your 1st rewrite branches on 2 and 3, and your second rewrite crashes on 2 and 3.In any actual use case, where you have direct control over the storyboard, you can probably customize the code to require a top-level SKView (or subclass), in which case your second rewrite may well be sufficient, and less confusing to future readers of the code.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’17
New 2 step authentication
Curious if those running the older 2 step verification have turned the feature off and back on to try the new 2 step authentication with iOS 9 and OS X 10.11? The Apple public beta document doesn't say much about this so I thought I'd ask here. I'm running the original 2 step verification and would like to give the new version a go but not if folks hae been seeing major issues with the switch. Thanks in advance!
Replies
1
Boosts
0
Views
522
Activity
Jul ’15
iOS 10.1 beta 2
Does anyone know when iOS 10.1 beta 2 will be released to Apple Developers?
Replies
1
Boosts
0
Views
3.1k
Activity
Sep ’16
Apple watch 2 barometer
Does the apple watch 2 have a barometer? Does it use the iphone one if in range?
Replies
0
Boosts
0
Views
489
Activity
Nov ’16
Installing beta 2?
I clicked on the update for b2, which took me to the iTunes page to redeem the code, which I did.A few minutes later it brought the installer up. I quit out of the installer as I was in the midst of other work, but when I went back to install the update, it just reinstalled beta1.When I go back to the download page and reenter my download code, it says it's already been redeemed.Why is this so hard to download? I have 3 test machines I want to upgrade, and I'm at a loss of how to download the latest.Would love any insight.- wave
Replies
7
Boosts
0
Views
1.5k
Activity
Jul ’16