Hi
am launching a tableviewcontroller as below. in uitableviewcell i only have a UILabel. when i click on the cell, i want the checkmark accessory to show tick mark. in didSelectRowAtIndexPath, i print the 'text' of label and it shows the name "itemName" that i gave in storyboard. i feel like the cell is not getting configured or memory not alloc'ed properly. never had this issue before. am running xcode 11.7. anything wrong with cellForRowAtIndexPath()? Spent like 5 hours on this simple item picker. Appreciate any help.
i also posted this question on SO here: https://stackoverflow.com/questions/64507695/accessorytypecheckmark-isnt-showing-appears-like-something-going-on-with-uitab
Post
Replies
Boosts
Views
Activity
Hi
I zipped up my whole project directory from my old laptop and download it to my new laptop. new laptop has xcode 13.2. i probably had xcode 11 or 12 earlier. when i build the app on xcode 13.2, i get this error:
Build input file cannot be found: '/Users/iosdev/Downloads/iOSApps/ewftabbed/ewftabbed/Base.lproj/Main.storyboard'
How do I fix this?
In the /Users/iosdev/Downloads/iOSApps/ewftabbed/ewftabbed/Base.lproj/ dir, I do see Main.storyboard.xml
Also, when I build the app and launch on simulator, I get:
Failed to install the requested application
Domain: NSPOSIXErrorDomain
Code: 22
Failure Reason: The bundle identifier of the application could not be determined.
Recovery Suggestion: Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
User Info: {
DVTErrorCreationDateKey = "2023-05-12 21:42:43 +0000";
IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
bundleURL = "file:///Users/iosdev/Library/Developer/Xcode/DerivedData/ewftabbed-gpquzuniqvxllsejhxsjwricchzl/Build/Products/Debug-iphonesimulator/EWF.app/";
}
In the project=>targets=>general=>identity: i do see "Bundle Identifier" as "com.ewf.ios.EWF"
I see same Bundle Identifier under "Signing & Capabilities" tab.
My project is in objective-C
Appreciate any help.
Hi
I moved over my code from a laptop that had older xcode version to a new laptopn with xcode 13.2. When I build and launch the simulator, i get this error. I do see Bundle Identifier in ewftabbed/ewftabbed/ewftabbed-Info.plist
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
What is missing here? Thank you.
Failed to install the requested application
Domain: NSPOSIXErrorDomain
Code: 22
Failure Reason: The bundle identifier of the application could not be determined.
Recovery Suggestion: Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
User Info: {
DVTErrorCreationDateKey = "2023-05-19 17:13:40 +0000";
IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
bundleURL = "file:///Users/paulo/Library/Developer/Xcode/DerivedData/ewftabbed-gpquzuniqvxllsejhxsjwricchzl/Build/Products/Debug-iphonesimulator/EWFremont.app/";
}
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone14,2";
"device_osBuild" = "15.2 (19C51)";
"device_platform" = "com.apple.platform.iphonesimulator";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = "x86_64";
"operation_duration_ms" = 6011;
"operation_errorCode" = 22;
"operation_errorDomain" = NSPOSIXErrorDomain;
"operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
"operation_name" = IDERunOperationWorkerGroup;
"param_consoleMode" = 0;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 3;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphonesimulator";
"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" = "iphonesimulator15.2";
"sdk_osVersion" = "15.2";
"sdk_variant" = iphonesimulator;
}
System Information
macOS Version 12.6 (Build 21G115)
Xcode 13.2.1 (19586) (Build 13C100)
Timestamp: 2023-05-19T10:13:40-07:00