Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,370 results found

Post

Replies

Boosts

Views

Activity

Why do I have to wait 2 weeks?
After following the correct procedures to start launching our in house app I get the following message. In House distribution provisioning profiles for this account will be available two weeks after program activation. Why do I have to wait two weeks for this? We really need to launch this app ASAP. Please can someone explain the reason so I can feed back to the business.
8
0
2.9k
May ’16
I have two objects colliding that shouldn't be
I have two objects that collide even when they are not moving, and are apart from each other. Now I know it's rude not to include code. But before I start reducing my code to post it up here, at let me describe what's happening with a photo. Maybe I'll get lucky and it's something I'm overlooking since I am still learning. Here are the two screenshots. I had to spilt the link because the forum won't let me post it completely. https ://i.ibb.co/QYHcp3L/Untitled.png In the left shot, everything you see, the two balls, and the left and bottom edges are created where you see them. The only thing I have not done is given the edges their SKPhysicsBodies. The edges purposes are just to keep the balls on screen. My intent is to keep the edges just a little off screen, but the same thing happens. I merely moved them in for the screenshots. But in the right shot, I've just given the edges their physics bodies, isPinned is set to true for the edges and the masks are set so th
2
0
459
Oct ’20
Two way SSL failed on WatchOS2.1
I was trying to communicate with a service with two way SSL from a watch.I found the connection was cancelled immediately after the client (watch) provide the client certificate, by calling completeHandler(NSURLSessionAuthChallengeUseCredential, credential).The error got is NSURLErrorDomain Code=-999 cancelled.But I've tried run the same piece of code on a phone, it did succeed. Apart from two way ssl, all other requests work fine on the watch.Since, the frameworks on watchOS and iOS are different, I am wondering if that might be an issue for WatchOS? Or is there anything specifically need to be configured for the watch?Cheers.
4
0
910
Feb ’16
watchOS 2 Keychain
I know that with watchOS 2 group containers are no longer allowed however I would like to know if this alos applies to accessGroup for keychain. I did not see any specific mention of this in the Apple Migration Docs. Will keychain with accessGroup still work in watchOS 2 or do we need to figure out some other way to track user login status???
0
0
371
Jun ’15
Unable to Migrate App to WatchOS 2
When I opened my project for the first time in Xcode 7, I was given the option to convert all of my code to Swift 2, which I did. But my WatchApp was never updated to WatchOS2. Now when I try to change the Base SDK, Xcode just crashes on me. Is there any other way to migrate my WatchApp and WatchKitExtension to WatchOS 2?
0
0
355
Jun ’15
Schedule 2
Hello! I would like to clarify some things regarding Apple Developer Program License Agreement (Schedule 2).i live in Belarus. And for my tax service it is important to know for what exact services Apple takes a commission of 30%.a) in p.3.4 it says: Apple shall be entitled to the following commissions in consideration for its services as Your agent and/or commissionaire under this Schedule 2: - For sales of Licensed Applications to End-Users... ...Apple shall be entitled to a commission equal to thirty percent (30%) of all prices payable by each End-User.What is this service? It is important to know whether these are marketing(promotions/advertising) services or sales services.b) in p.1.1 it says that Apple acts as my agent («Your agent for the marketing and delivery of the Licensed Applications to End-Users»). Could you please explain what is meant by marketing? Is te meaning for marketing the same as <Promotions> or <Sale>? What exact services are included in the marketing?c)T
6
0
3.2k
Feb ’19
Reply to bindings with custom fieldeditor problem
The sample code does two things you're missing:Boy did I feel stupid after reading that comment 😟I did read the documentation but for some reason I missed those 2 critical lines of code.1. It sets the fieldEditor property to YES.2. It creates one field editor and caches itAs it seems both are required!It now works as expected
Topic: UI Frameworks SubTopic: AppKit Tags:
Jun ’17
Aligning two images
Hi,I just started learning swift and was wondering, if there is any way to align two images to each other. My scenario would be the following: I have two picutures taken shortly after each other and now I have to align them. In python I am using a histogram registration approach for that and I was wondering, if an implementation of this exists already somewhere in swift. Or some other algorithm that does that.I really appreciate your help.Best,
0
0
351
Apr ’16
Reply to Problems with randomised array items
You do not show the code where the UILabel is set, so it is difficult to be sure.Do you usevar question = [1+1=2, 2+2=22]somewhere ?But most likely you have a synchronization issue, because UILabel is not updated yet, but code has moved after. That's often the case when you have an alert and try to use the result of the alert outside of the alert code.There are several solution:- using completion handlers- setting semaphoresBut once again, need to see your code first.
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’18
How do you "add" two text fields?
Ok, so in my app I have got two textfields, one label and one button. I manage to get the content of the one textfield to be displayed in the label, but i want to display the content of both of the textfields.@IBAction func buttonPushed(sender: UIButton) { Label.text = (textfield1.text) + (textfield2.text)The code above is the closest I´ve com, but the Label displays: Optionalwhatever i typed in the textfieldOptionalwhatever i typed in the textfield
3
0
5.6k
Oct ’15
Why do I have to wait 2 weeks?
After following the correct procedures to start launching our in house app I get the following message. In House distribution provisioning profiles for this account will be available two weeks after program activation. Why do I have to wait two weeks for this? We really need to launch this app ASAP. Please can someone explain the reason so I can feed back to the business.
Replies
8
Boosts
0
Views
2.9k
Activity
May ’16
I have two objects colliding that shouldn't be
I have two objects that collide even when they are not moving, and are apart from each other. Now I know it's rude not to include code. But before I start reducing my code to post it up here, at let me describe what's happening with a photo. Maybe I'll get lucky and it's something I'm overlooking since I am still learning. Here are the two screenshots. I had to spilt the link because the forum won't let me post it completely. https ://i.ibb.co/QYHcp3L/Untitled.png In the left shot, everything you see, the two balls, and the left and bottom edges are created where you see them. The only thing I have not done is given the edges their SKPhysicsBodies. The edges purposes are just to keep the balls on screen. My intent is to keep the edges just a little off screen, but the same thing happens. I merely moved them in for the screenshots. But in the right shot, I've just given the edges their physics bodies, isPinned is set to true for the edges and the masks are set so th
Replies
2
Boosts
0
Views
459
Activity
Oct ’20
Reply to Xcode error with SpriteKit
I would just switch that view.center code to any other CGPoint value. You could useCGPoint(x: self.view.bounds.size.width / 2, y: self.view.bounds.size.height / 2 )
Topic: Graphics & Games SubTopic: SpriteKit Tags:
Replies
Boosts
Views
Activity
Dec ’16
Reply to Multiple instances of println() vs. a single instance
Your 2 version is considered clearer code by many, but for the compiler and the generated code there is no difference.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’15
Two way SSL failed on WatchOS2.1
I was trying to communicate with a service with two way SSL from a watch.I found the connection was cancelled immediately after the client (watch) provide the client certificate, by calling completeHandler(NSURLSessionAuthChallengeUseCredential, credential).The error got is NSURLErrorDomain Code=-999 cancelled.But I've tried run the same piece of code on a phone, it did succeed. Apart from two way ssl, all other requests work fine on the watch.Since, the frameworks on watchOS and iOS are different, I am wondering if that might be an issue for WatchOS? Or is there anything specifically need to be configured for the watch?Cheers.
Replies
4
Boosts
0
Views
910
Activity
Feb ’16
watchOS 2 Keychain
I know that with watchOS 2 group containers are no longer allowed however I would like to know if this alos applies to accessGroup for keychain. I did not see any specific mention of this in the Apple Migration Docs. Will keychain with accessGroup still work in watchOS 2 or do we need to figure out some other way to track user login status???
Replies
0
Boosts
0
Views
371
Activity
Jun ’15
Unable to Migrate App to WatchOS 2
When I opened my project for the first time in Xcode 7, I was given the option to convert all of my code to Swift 2, which I did. But my WatchApp was never updated to WatchOS2. Now when I try to change the Base SDK, Xcode just crashes on me. Is there any other way to migrate my WatchApp and WatchKitExtension to WatchOS 2?
Replies
0
Boosts
0
Views
355
Activity
Jun ’15
Schedule 2
Hello! I would like to clarify some things regarding Apple Developer Program License Agreement (Schedule 2).i live in Belarus. And for my tax service it is important to know for what exact services Apple takes a commission of 30%.a) in p.3.4 it says: Apple shall be entitled to the following commissions in consideration for its services as Your agent and/or commissionaire under this Schedule 2: - For sales of Licensed Applications to End-Users... ...Apple shall be entitled to a commission equal to thirty percent (30%) of all prices payable by each End-User.What is this service? It is important to know whether these are marketing(promotions/advertising) services or sales services.b) in p.1.1 it says that Apple acts as my agent («Your agent for the marketing and delivery of the Licensed Applications to End-Users»). Could you please explain what is meant by marketing? Is te meaning for marketing the same as <Promotions> or <Sale>? What exact services are included in the marketing?c)T
Replies
6
Boosts
0
Views
3.2k
Activity
Feb ’19
Reply to bindings with custom fieldeditor problem
The sample code does two things you're missing:Boy did I feel stupid after reading that comment 😟I did read the documentation but for some reason I missed those 2 critical lines of code.1. It sets the fieldEditor property to YES.2. It creates one field editor and caches itAs it seems both are required!It now works as expected
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’17
Aligning two images
Hi,I just started learning swift and was wondering, if there is any way to align two images to each other. My scenario would be the following: I have two picutures taken shortly after each other and now I have to align them. In python I am using a histogram registration approach for that and I was wondering, if an implementation of this exists already somewhere in swift. Or some other algorithm that does that.I really appreciate your help.Best,
Replies
0
Boosts
0
Views
351
Activity
Apr ’16
Reply to Problems with randomised array items
You do not show the code where the UILabel is set, so it is difficult to be sure.Do you usevar question = [1+1=2, 2+2=22]somewhere ?But most likely you have a synchronization issue, because UILabel is not updated yet, but code has moved after. That's often the case when you have an alert and try to use the result of the alert outside of the alert code.There are several solution:- using completion handlers- setting semaphoresBut once again, need to see your code first.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’18
How do you "add" two text fields?
Ok, so in my app I have got two textfields, one label and one button. I manage to get the content of the one textfield to be displayed in the label, but i want to display the content of both of the textfields.@IBAction func buttonPushed(sender: UIButton) { Label.text = (textfield1.text) + (textfield2.text)The code above is the closest I´ve com, but the Label displays: Optionalwhatever i typed in the textfieldOptionalwhatever i typed in the textfield
Replies
3
Boosts
0
Views
5.6k
Activity
Oct ’15
How to handle Storekit 2 errors without JWT
Hi, I am using Storekit 2, i get the error code : 5000000. In Storekit we use SKError to spot it, in Storekit 2 how to handle this. Please suggest.
Replies
0
Boosts
0
Views
782
Activity
Jan ’23
How to download metal 2?
i am on the metal 2 info page, but I cannot find a link to download it? Thanks for your help.
Replies
1
Boosts
0
Views
12k
Activity
Aug ’17
WatchOS 2 beta 2
I am not able to download the new beta. It says my software is up to date. Any ideas?
Replies
3
Boosts
0
Views
652
Activity
Jun ’15