Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

167,670 results found

Post

Replies

Boosts

Views

Activity

Two tables in a watchApp scene?
I would like to have two WKInterfaceTables running independently in a watch scene, but am not having any joy implementing them.I have created the two tables in a Group which works fine, now that I have played areound wuth Groups.The complication (excuse the pun) occurs in table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int)where I can't work out which table has been selected. It gets called when I select either table, but tI can't identify which table was selected.
2
0
652
Jun ’18
Reply to What is matchingSignature in LibraryItem
I've played with this a little bit and have a few guesses. My first is that the code was copy-pasta from Snippets, where a matching signature is used for code completion. To look at this yourself put a simple statement somewhere in code, select it, contextual popup menu > create code snippet. Edit the completion (for example, to snozzleberry). Then type snozzleberry in code and it will automatically update itself to the original statement. In such a case, the matching signature is the custom completion. My second guess is that it should work exactly like snippets do but for modifiers, where base is used for in-place substitutions but it hasn't been finished yet. If so, you can have your matchingSignature be snozzleberry, and if your code is base.setWidth(2 * base.size), then it would modify with the two base substitutions.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’20
Combining two audio AVAssetWriterInput
Hello,I am working with Replay Kit 2, to record the screen, the app output audio, and the phone input microphone.This means I can have up to 3 AVAssetWriterInput instances:- 1 for the app video (screen recording)- 1 for app audio (stereo, 2 channels, 441000 sample rate, 64000 bit rate)- 1 for microphone audio (mono, 1 channel, 441000 sample rate, 64000 bit rate)I am using a AVAssetWriter to combine these three inputs. (using add: method)This results in an mp4 with two different audio tracks, one with only the app audio, and another with the microphone audio. This means in some players like VLC only one track at a time is played.Is there any specific way to combine both inputs into one in the final MP4?
3
0
3.0k
Jan ’18
Can you have two separate model containers with SwiftData?
Hello. See the code below. struct ContentView: View { var body: some View { TabView { VehicleTab() .tabItem({ Label(Vehicles, systemImage: car.fill)}) .modelContainer(for: Vehicle.self) TransactionsTab() .tabItem { Label(Transactions, systemImage: dollarsign) } .modelContainer(for: Transaction.self) } } } Using the .modelContainer() in this way seems to be causing some issue. I was under the assumption that this would just create a container for each view. I get the error below in this configuration. If I comment out either one of the .modelContainer() modifiers, it works fine. Query encountered an error: Error Domain=NSCocoaErrorDomain Code=256 The file “default.store” couldn’t be opened. Are you not able to do what I'm doing? Is there a way to have two separate containers?
1
0
669
Apr ’24
Two document types in SwiftUI?
Documentation of DocumentGroup says: Your app can support multiple document types by adding additional document group scenes: The example has an editor and a viewer, but I need to have two editors. Creating two different DocumentGroup elements seems to work, but then there's only one New Document menu item, which targets the first DocumentGroup. Is there a way to allow the user to choose which document type to create?
2
0
1.5k
Mar ’22
Its been two weeks in Waiting for review
Hello two weeks ago i changed the state of the application to waiting for review in iTunesConnect. And exactly one week later, they rejected the app cause of the app rating was 9, and they wanted me to change it to 12. I did that and changed the state to waiting for review in the next two mintues. And after that its going to be one week. I didnt understand, I didnt upload a new build, why its taking much to time fo review board to analyse my app.Really sad. Is it cause halloween holidays ?? I wonder.
0
0
260
Nov ’15
Two tables in a watchApp scene?
I would like to have two WKInterfaceTables running independently in a watch scene, but am not having any joy implementing them.I have created the two tables in a Group which works fine, now that I have played areound wuth Groups.The complication (excuse the pun) occurs in table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int)where I can't work out which table has been selected. It gets called when I select either table, but tI can't identify which table was selected.
Replies
2
Boosts
0
Views
652
Activity
Jun ’18
Reply to What is matchingSignature in LibraryItem
I've played with this a little bit and have a few guesses. My first is that the code was copy-pasta from Snippets, where a matching signature is used for code completion. To look at this yourself put a simple statement somewhere in code, select it, contextual popup menu > create code snippet. Edit the completion (for example, to snozzleberry). Then type snozzleberry in code and it will automatically update itself to the original statement. In such a case, the matching signature is the custom completion. My second guess is that it should work exactly like snippets do but for modifiers, where base is used for in-place substitutions but it hasn't been finished yet. If so, you can have your matchingSignature be snozzleberry, and if your code is base.setWidth(2 * base.size), then it would modify with the two base substitutions.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jun ’20
How can I monitor and enforce two factor for iCloud?
Based on security issues that exist without two factor, the only way I can ethically support iCloud with PII is if 1) Two factor is enabled at sign up / authentication 2) My data is inacessible if Two Factor is disabled. 3) Optionally - I get notified if Two Factor is disabled and I revoke accessIs this possible?
Replies
2
Boosts
0
Views
380
Activity
Jan ’16
Combining two audio AVAssetWriterInput
Hello,I am working with Replay Kit 2, to record the screen, the app output audio, and the phone input microphone.This means I can have up to 3 AVAssetWriterInput instances:- 1 for the app video (screen recording)- 1 for app audio (stereo, 2 channels, 441000 sample rate, 64000 bit rate)- 1 for microphone audio (mono, 1 channel, 441000 sample rate, 64000 bit rate)I am using a AVAssetWriter to combine these three inputs. (using add: method)This results in an mp4 with two different audio tracks, one with only the app audio, and another with the microphone audio. This means in some players like VLC only one track at a time is played.Is there any specific way to combine both inputs into one in the final MP4?
Replies
3
Boosts
0
Views
3.0k
Activity
Jan ’18
Reply to Problem when register apple developer
Step 1. Login on developer.apple.com (important!)Step 2. Go to e-mail and click to Activation Code linkSper 3. Insert Activation Code in textField
Replies
Boosts
Views
Activity
Oct ’16
Reply to apple developer product activation code
Step 1. Login on developer.apple.com (important!)Step 2. Go to e-mail and click to Activation Code linkSper 3. Insert Activation Code in textField
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’16
Code
I have downloaded TestFlight so I could download Orion Stars, and it’s asking me for some code? Idk what that code would be. Please help!
Replies
0
Boosts
0
Views
359
Activity
Feb ’22
Can you have two separate model containers with SwiftData?
Hello. See the code below. struct ContentView: View { var body: some View { TabView { VehicleTab() .tabItem({ Label(Vehicles, systemImage: car.fill)}) .modelContainer(for: Vehicle.self) TransactionsTab() .tabItem { Label(Transactions, systemImage: dollarsign) } .modelContainer(for: Transaction.self) } } } Using the .modelContainer() in this way seems to be causing some issue. I was under the assumption that this would just create a container for each view. I get the error below in this configuration. If I comment out either one of the .modelContainer() modifiers, it works fine. Query encountered an error: Error Domain=NSCocoaErrorDomain Code=256 The file “default.store” couldn’t be opened. Are you not able to do what I'm doing? Is there a way to have two separate containers?
Replies
1
Boosts
0
Views
669
Activity
Apr ’24
Reply to SwiftData Predicate Issue
Maybe, those codes can help your: let object = MyObject(name: name 2) let predicate = #Predicate{ $0.name == name 2 } try? modelContext.delete(model: MyObject.self, where: predicate)
Replies
Boosts
Views
Activity
Mar ’24
Animation in Watch OS 2
Is there any way to animate the WKGroup and any other Element of Watch OS 2 . Also is there any API for touch gesture in Watch kit ?
Replies
1
Boosts
0
Views
484
Activity
Aug ’15
Xcode 15 Beta 2 can't find iOS 17 Beta 2 device
Upgraded to Xcode 15 Beta 2 (15A5161b) and iOS 17 Beta 2 (21A5268h) today (on an Intel Mac, running macOS 13.4.1). Now Xcode no longer finds any eligible connected devices, while Finder does show the iPhone. This iPhone 11 is connected via USB and Developer Mode is turned on. What could be wrong? How to fix it?
Replies
7
Boosts
0
Views
6.0k
Activity
Jun ’23
In 10.14 Beta 2 - what does YaraScanService do?
Just updated to 10.14 Beta 2 (18A314h). I am seeing a process named YaraScanService. I don't think it was there in Beta 1.Anyone know what this does?
Replies
12
Boosts
0
Views
14k
Activity
Jun ’18
Two document types in SwiftUI?
Documentation of DocumentGroup says: Your app can support multiple document types by adding additional document group scenes: The example has an editor and a viewer, but I need to have two editors. Creating two different DocumentGroup elements seems to work, but then there's only one New Document menu item, which targets the first DocumentGroup. Is there a way to allow the user to choose which document type to create?
Replies
2
Boosts
0
Views
1.5k
Activity
Mar ’22
Its been two weeks in Waiting for review
Hello two weeks ago i changed the state of the application to waiting for review in iTunesConnect. And exactly one week later, they rejected the app cause of the app rating was 9, and they wanted me to change it to 12. I did that and changed the state to waiting for review in the next two mintues. And after that its going to be one week. I didnt understand, I didnt upload a new build, why its taking much to time fo review board to analyse my app.Really sad. Is it cause halloween holidays ?? I wonder.
Replies
0
Boosts
0
Views
260
Activity
Nov ’15
Reply to Trailing closure passed to parameter of type 'FormStyleConfiguration' that does not accept a closure
Also my code starts with 2 cups of coffee instead of just one. Not sure why its doing this.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’23