Post

Replies

Boosts

Views

Activity

Can iOS documents persist through app updates?
My app allows users to create their own documents. iOS stores them in/var/mobile/containers/Data/Application/FFFF/Documents/This folder is in the app bundle, yes?When the user installs an updated build from the app store, they would then lose all of their documents.How can the app be made to keep the user's documents when a newer build is downloaded from the app store?
4
0
5.8k
Dec ’18
What is necessary to use the microphone in OSX notarized app?
I've checked my notarized app's bundle and it contains an Info.plist which contains the NSMicrophoneUsageDescription pair that is expected. The notarized app bundle is killed every time the code requests permission to use the microphone. The very same app bundle, before notarization, works as expected, reporting that permission has been granted even though the user dialog never appears. What is different about the notarized app bundle that would cause it to be killed when requesting permission to use the microphone?
2
0
1.1k
Dec ’21
Can Xcode run apps on iOS 12.5.5?
When running an Xcode 13.2.1 Hello World project on an iPad with iOS 12.5.5 an Issues window appears. Is 12.5.5 no longer supported? Here is the contents of the Issues window: Details Could not launch “HelloWorldMike” Domain: IDEDebugSessionErrorDomain Code: 3 Failure Reason: Security User Info: {     DVTErrorCreationDateKey = "2022-01-27 12:17:57 +0000";     DVTRadarComponentKey = 855031;     IDERunOperationFailingWorker = DBGLLDBLauncher;     RawUnderlyingErrorMessage = Security; } -- Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {     "device_model" = "iPad4,4";     "device_osBuild" = "12.5.5 (16H62)";     "device_platform" = "com.apple.platform.iphoneos";     "launchSession_schemeCommand" = Run;     "launchSession_state" = 1;     "launchSession_targetArch" = arm64;     "operation_duration_ms" = 6503;     "operation_errorCode" = 3;     "operation_errorDomain" = IDEDebugSessionErrorDomain;     "operation_errorWorker" = DBGLLDBLauncher;     "operation_name" = IDEiPhoneRunOperationWorkerGroup;     "param_consoleMode" = 0;     "param_debugger_attachToExtensions" = 0;     "param_debugger_attachToXPC" = 1;     "param_debugger_type" = 5;     "param_destination_isProxy" = 0;     "param_destination_platform" = "com.apple.platform.iphoneos";     "param_diag_MainThreadChecker_stopOnIssue" = 0;     "param_diag_MallocStackLogging_enableDuringAttach" = 0;     "param_diag_MallocStackLogging_enableForXPC" = 1;     "param_diag_allowLocationSimulation" = 1;     "param_diag_gpu_frameCapture_enable" = 0;     "param_diag_gpu_shaderValidation_enable" = 0;     "param_diag_gpu_validation_enable" = 0;     "param_diag_memoryGraphOnResourceException" = 0;     "param_diag_queueDebugging_enable" = 1;     "param_diag_runtimeProfile_generate" = 0;     "param_diag_sanitizer_asan_enable" = 0;     "param_diag_sanitizer_tsan_enable" = 0;     "param_diag_sanitizer_tsan_stopOnIssue" = 0;     "param_diag_sanitizer_ubsan_stopOnIssue" = 0;     "param_diag_showNonLocalizedStrings" = 0;     "param_diag_viewDebugging_enabled" = 1;     "param_diag_viewDebugging_insertDylibOnLaunch" = 1;     "param_install_style" = 0;     "param_launcher_UID" = 2;     "param_launcher_allowDeviceSensorReplayData" = 0;     "param_launcher_kind" = 0;     "param_launcher_style" = 0;     "param_launcher_substyle" = 0;     "param_runnable_appExtensionHostRunMode" = 0;     "param_runnable_productType" = "com.apple.product-type.application";     "param_runnable_swiftVersion" = "5.5.2";     "param_runnable_type" = 2;     "param_testing_launchedForTesting" = 0;     "param_testing_suppressSimulatorApp" = 0;     "param_testing_usingCLI" = 0;     "sdk_canonicalName" = "iphoneos15.2";     "sdk_osVersion" = "15.2";     "sdk_variant" = iphoneos; } -- System Information macOS Version 12.1 (Build 21C52) Xcode 13.2.1 (19586) (Build 13C100) Timestamp: 2022-01-27T07:17:57-05:00
1
0
2.1k
Jan ’22
app identifier "com.bookup.chessopeningswizard" cannot be registered to your development team because it is not available
When changing the bundle identifier on my iOS Xcode project to match the bundle identifier of the app I've published, Xcode says this: Failed to register bundle identifier The app identifier "com.bookup.chessopeningswizard" cannot be registered to your development team because it is not available. Change your bundle identifier to a unique string to try again. I can set it to any other bundle identifier and Xcode is okay. I believe I need to set it to the app identifier of the published app because I'm creating a new version of the app.
1
0
1.1k
Jun ’22