Post

Replies

Boosts

Views

Activity

Reply to Swift performance, debug build hundreds of times slower than release
You can go into the build settings and change the optimization settings to match the release. That most likely will be at the cost of breakpoints not working as expected and possibly not being able to access some variables.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to MP3 works on simulator but not after I upload the build
I would be sure to validate the capitalization of the file and path. Macos tends to come using a case insensitive file system where ios is case sensitive.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Unable to add Capability in Vision OS
The documentation doesn't list visionos being supported https://developer.apple.com/documentation/sign_in_with_apple
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Safari shows "No Inspectable Applications" while trying to remote debug web app.
Are you setting the isInspectable property to true when running on ios 16.4/macos 13.3 and later?
Topic: Safari & Web SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Is SwiftData created specifically for SwiftUI?
I found this example https://www.hackingwithswift.com/quick-start/swiftdata/how-to-use-swiftdata-with-uikit
Replies
Boosts
Views
Activity
Apr ’24
Reply to How can I check if my project is set up to use SwiftData?
One thing to look for would be the @Model macro in your data model classes.
Replies
Boosts
Views
Activity
Apr ’24
Reply to Upgrading and exiting
A thought would be to display an alert with no buttons explaining to the user what is going on. That blocks the ui without terminating the app.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to iPad occasionally 't receive the 'applicationDidBecomeActive' system message in AppDelegate
This might help https://stackoverflow.com/questions/63554436/applicationdidbecomeactive-not-called-while-other-delegate-are-called-normally
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to Pasing remote JSON response
The json syntax is wrong. At a minimum you need to wrap it in {}'s and remove the trailing comma.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to USSD calls with * and # dont work iOS
Have you tried percent encoding the # and *? %23 and %2A
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to persist images even after the app is uninstalled in iphone application
If they are in a folder that is set to be backed up it might be restored. I had that happen with a personal app's core data store.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to External NFC on iPad
Have you tried the apple lightening to audio jack adapters? I'm thinking that worked with square's hardware that had used the audio jack.
Topic: App & System Services SubTopic: Hardware Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to My app not visible on App store.
I'm seeing an app of that name by Tsewang Sonam. The search for the name is initially replaced by a different one, but if you tell it to search for Tsundue it is the second hit. This is in the U.S. store.
Replies
Boosts
Views
Activity
Apr ’24
Reply to Failed to product diagnostic error
That generally means there is an error that the compiler can't handle. I've had it due to syntax errors. Also due to complexity of the view. I would suggest commenting out elements of the view till it works.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Mar ’24
Reply to Xcode 15.3 can't run app on Vision Pro
Do you have any firewall or vpn active?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’24