Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,370 results found

Post

Replies

Boosts

Views

Activity

combine two id<MTLTexture>
Hi, Perhaps the textures are too complicated for something like this to be done simply, but... I have two depth textures, same size, same pixel format, each created with a separate rendering pass. One to calculate shadows created by stationary objects, the other to calculate shadows created by moving objects. Is there an easy way to combine the two textures, so that I end up with a single texture that I can use sample_compare inside a shader? Or is the best way to pass both textures to the shader and do samplecompare twice? Thanks
0
0
670
Jul ’20
How can I include two apps in one bundle?
I have a client who has two existing ATV apps, which are distinct apps, but are fairly similar. Their Apple rep suggested that they package both apps together and add some bootstrap code to switch between the two. I'm not sure how to do the bundling. I think I know how to do the switching (inside main.m before return UIApplicaitonMain). I just don't know what I need to do to add the two app binaries under one package. I found some articles suggesting that I make each app into a Framework. However, that seems unnecesarily too complex.Any ideas?Thanks
0
0
345
Oct ’15
Apple Configurator 2
I am able to update a device to iOS 9.0 using Apple Configurator 2. I can prepare a device and get it registered in my MDM (JAMF Casper). I can add an app to the device (iPad Air).However, when I try to launch any app added to the device I get a popup to log in to the iTunes store. If I hit cancel then the entire app closes. I can't get any apps to launch and run.Anyone else having these issues?I am running the released iOS 9, Apple Configurator 2 Beta 5 and OS 10.11 Beta (15A279b).Thanks!
1
0
1.9k
Sep ’15
reverseGeocode - always error 2 - watchOS2
Hey all,Still having the same issue on watchOS 2 GM as I've had with every watchOS 2 beta.When calling reverseGeocode within my watchOS 2 extension with a valid location, the geoCoder returns with kCLErrorDomain error 2 every time.This occurs on the simulator using the Apple simulated location, as well as on my actual Apple Watch in Santa Monica, CA.My code is not calling reverseGeocode more than once, so I do not see how it could be an issue of calling the reverseGeocode too often.CLLocationManager is able to successfully pull the location, and other NSURL requests complete without issue from my watchOS 2 extension, so network access does not appear to be an issue.The watchOS 2 component of my app has been ready for weeks now with the exception of this reverseGeocoding failure.=There was another thread regarding this same problem a few weeks back, but that seems to be dead now.Has anyone else encountered this problem and found a solution?
1
0
1.7k
Sep ’15
Reply to Swift 4.2 code only runs once...
Hi All,I have cracked it.Simply delay code execution using the Dispatch framework. GDC framework.> DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(2)) {> runagain() //this runs my code in the main thread.> //this code will be executed only after 2 seconds have been passed , I will eventually make this longer because I dont need to poll sensor as often. > }
Topic: Programming Languages SubTopic: Swift Tags:
Dec ’18
iPad Air 2 A1566- iOS 9 beta 2 - blue screen
I've tried several times.First was OTA from iOS 9 beta 1 to beta 2, failed.Then I installed the iOS 9 beta 2 firmware from iTunes, failed.Restored to iOS 8.3, then installed the iOS 9 beta 2 firmware - finishes the firmware update, reboots - blue screen (infinite reboot).Restored to iOS 8.3, then to iOS 8.4 beta 4, then installed the iOS 9 beta 2 firmware - it just hangs at the end of the firmware update.I used DFU mode to restore back each time it failed.
2
0
789
Jun ’15
Reply to Does Swift Playgrounds for iPad exist?
From the iOS 10 b2 Release Notes:Swift Playgrounds Swift Playgrounds is a brand new app designed to help people learn to code with Swift 3. It offers downloadable content, including Learn to Code Part 1—which teaches the fundamentals of coding in Swift—and additional challenges you can explore. You can also experiment on your own by creating playgrounds based on the templates, create a blank playground, or open playgrounds created in Xcode.Swift Playgrounds is included with iOS 10 beta 2 and up.Swift Playgrounds beta 2 contains Learn to Code Part 1. Learn to Code Part 2 is coming in later releases.Connect to Wi-Fi to download the Learn to Code and Challenge content. Cellular downloads are not supported.
Jul ’16
combine two id<MTLTexture>
Hi, Perhaps the textures are too complicated for something like this to be done simply, but... I have two depth textures, same size, same pixel format, each created with a separate rendering pass. One to calculate shadows created by stationary objects, the other to calculate shadows created by moving objects. Is there an easy way to combine the two textures, so that I end up with a single texture that I can use sample_compare inside a shader? Or is the best way to pass both textures to the shader and do samplecompare twice? Thanks
Replies
0
Boosts
0
Views
670
Activity
Jul ’20
Airplay 2 and Sonos
I’m finding the volume played through ITunes and Airplay 2 to my Sonos speaker is lower than if I use just the Sonos App. Anyone experiencing this?
Replies
0
Boosts
0
Views
867
Activity
Aug ’18
How do you start the watchkit 1 to 2 migration?
I started the new Xcode, after converting to new standard and Swift, nothing seems to change, it is still the same old WatchKit model (iPhone app runs code). How do I convert to WatchKit 2?
Replies
1
Boosts
0
Views
438
Activity
Jun ’15
Reply to Is there any difference between swift and C++ for `pid_t` type?
I have defined two different structures with same variables in both swift code and kernel space. As I already wrote, two structs are not the same.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Sep ’20
Reply to Why UINavigationbar hide when push to other controller
Could you post the code of the 2 controllers, that will be easier.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
May ’18
How can I include two apps in one bundle?
I have a client who has two existing ATV apps, which are distinct apps, but are fairly similar. Their Apple rep suggested that they package both apps together and add some bootstrap code to switch between the two. I'm not sure how to do the bundling. I think I know how to do the switching (inside main.m before return UIApplicaitonMain). I just don't know what I need to do to add the two app binaries under one package. I found some articles suggesting that I make each app into a Framework. However, that seems unnecesarily too complex.Any ideas?Thanks
Replies
0
Boosts
0
Views
345
Activity
Oct ’15
Apple Configurator 2
I am able to update a device to iOS 9.0 using Apple Configurator 2. I can prepare a device and get it registered in my MDM (JAMF Casper). I can add an app to the device (iPad Air).However, when I try to launch any app added to the device I get a popup to log in to the iTunes store. If I hit cancel then the entire app closes. I can't get any apps to launch and run.Anyone else having these issues?I am running the released iOS 9, Apple Configurator 2 Beta 5 and OS 10.11 Beta (15A279b).Thanks!
Replies
1
Boosts
0
Views
1.9k
Activity
Sep ’15
reverseGeocode - always error 2 - watchOS2
Hey all,Still having the same issue on watchOS 2 GM as I've had with every watchOS 2 beta.When calling reverseGeocode within my watchOS 2 extension with a valid location, the geoCoder returns with kCLErrorDomain error 2 every time.This occurs on the simulator using the Apple simulated location, as well as on my actual Apple Watch in Santa Monica, CA.My code is not calling reverseGeocode more than once, so I do not see how it could be an issue of calling the reverseGeocode too often.CLLocationManager is able to successfully pull the location, and other NSURL requests complete without issue from my watchOS 2 extension, so network access does not appear to be an issue.The watchOS 2 component of my app has been ready for weeks now with the exception of this reverseGeocoding failure.=There was another thread regarding this same problem a few weeks back, but that seems to be dead now.Has anyone else encountered this problem and found a solution?
Replies
1
Boosts
0
Views
1.7k
Activity
Sep ’15
10.13.4 beta 2
Whi is Imessages option greys out? i signed out and back in, I also signed out of Icloud and back in and it redownlaoded all my data? now what?broken in ebta 2?
Replies
8
Boosts
0
Views
1.5k
Activity
Feb ’18
How to merge two app?
Hi there,is it possible to transfer app within same account? like merge 2 apps? and the existing users of both app will get only one update as in result?
Replies
0
Boosts
0
Views
430
Activity
Dec ’16
How to test CKShare between two users
I have only one phone and Apple ID. I want to test CKShare between two users. Do I need two phones? Do I need two different Apple IDs? I read that two Apple IDs cannot share same phone. Can someone tell me what is the best way to test CKShare between two users on my development environment
Replies
2
Boosts
0
Views
1.1k
Activity
May ’20
Multitasking on iPad 2?
Does anyone know if multitasking/split view etc works on iPad 2?? I have tried and I'm not exactly sure if there is some setting needs to be changed but I can't seem to get it or work. Thanks.
Replies
1
Boosts
0
Views
388
Activity
Jun ’15
Reply to Swift 4.2 code only runs once...
Hi All,I have cracked it.Simply delay code execution using the Dispatch framework. GDC framework.> DispatchQueue.main.asyncAfter(deadline: .now() + .seconds(2)) {> runagain() //this runs my code in the main thread.> //this code will be executed only after 2 seconds have been passed , I will eventually make this longer because I dont need to poll sensor as often. > }
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’18
iPad Air 2 A1566- iOS 9 beta 2 - blue screen
I've tried several times.First was OTA from iOS 9 beta 1 to beta 2, failed.Then I installed the iOS 9 beta 2 firmware from iTunes, failed.Restored to iOS 8.3, then installed the iOS 9 beta 2 firmware - finishes the firmware update, reboots - blue screen (infinite reboot).Restored to iOS 8.3, then to iOS 8.4 beta 4, then installed the iOS 9 beta 2 firmware - it just hangs at the end of the firmware update.I used DFU mode to restore back each time it failed.
Replies
2
Boosts
0
Views
789
Activity
Jun ’15
Reply to Does Swift Playgrounds for iPad exist?
From the iOS 10 b2 Release Notes:Swift Playgrounds Swift Playgrounds is a brand new app designed to help people learn to code with Swift 3. It offers downloadable content, including Learn to Code Part 1—which teaches the fundamentals of coding in Swift—and additional challenges you can explore. You can also experiment on your own by creating playgrounds based on the templates, create a blank playground, or open playgrounds created in Xcode.Swift Playgrounds is included with iOS 10 beta 2 and up.Swift Playgrounds beta 2 contains Learn to Code Part 1. Learn to Code Part 2 is coming in later releases.Connect to Wi-Fi to download the Learn to Code and Challenge content. Cellular downloads are not supported.
Replies
Boosts
Views
Activity
Jul ’16