iOS app has been Build successfully but during launch on iOS Simulator application crashs with "signal SIGABRT" on Xcode 14.2 and iOS 16.2.
FBSnapshotTestCase is already added to embed framework.
Framework search path has the correct path.
Frameworks are available on dependencies folder.
Logs:
dyld[32948]: Library not loaded: @rpath/XCTest.framework/XCTest
Referenced from: <E8E24ECE-C759-3CF6-AA8C-754959DB29F6> /Users/<user home>/Library/Developer/Xcode/DerivedData/<SDK Name>-aoofobgnguypdxgcfjihpmsqhxjt/Build/Products/Debug-iphonesimulator/FBSnapshotTestCase.framework/FBSnapshotTestCase
Reason: tried: '/Users/<user home>/Library/Developer/Xcode/DerivedData/<SDK Name>-aoofobgnguypdxgcfjihpmsqhxjt/Build/Products/Debug-iphonesimulator/XCTest.framework/XCTest' (errno=2),
'/Users/<userHome>/Library/Developer/CoreSimulator/Devices/BD21B3CE-8869-4DFE-8994-F158B31A7D44/data/Containers/Bundle/Application/24BC3D00-E2E6-46B6-821F-B290665CF820/SampleApp.app/Frameworks/XCTest.framework/XCTest' (errno=2),
'/Users/<user home>/Library/Developer/Xcode/DerivedData/<SDK Name>-aoofobgnguypdxgcfjihpmsqhxjt/Build/Products/Debug-iphonesimulator/FBSnapshotTestCase.framework/Frameworks/XCTest.framework/XCTest' (errno=2), '/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/XCTest.framework/XCTest' (errno=2),
'/usr/lib/swift/XCTest.framework/XCTest' (errno=2, not in dyld cache), '/Users/<user home>/Library/Developer/CoreSimulator/Devices/BD21B3CE-8869-4DFE-8994-F158B31A7D44/data/Containers/Bundle/Application/24BC3D00-E2E6-46B6-821F-B290665CF820/SampleApp.app/Frameworks/XCTest.framework/XCTest' (errno=2), '/Users/<user home>/Library/Developer/CoreSimulator/Devices/BD21B3CE-8869-4DFE-8994-F158B31A7D44/data/Containers/Bundle/Application/24BC3D00-E2E6-46B6-821F-B290665CF820/SampleApp.app/Frameworks/XCTest.framework/XCTest' (errno=2),
'/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/swift/XCTest.framework/XCTest' (errno=2), '/usr/lib/swift/XCTest.framework/XCTest' (errno=2, not in dyld cache), '/Users/<user home>/Library/Developer/CoreSimulator/Devices/BD21B3CE-8869-4DFE-8994-F158B31A7D44/data/Containers/Bundle/Application/24BC3D00-E2E6-46B6-821F-B290665CF820/SampleApp.app/Frameworks/XCTest.framework/XCTest' (errno=2), '/Users/<user home>/Library/Developer/CoreSimulator/Devices/BD21B3CE-8869-4DFE-8994-F158B31A7D44/data/Containers/Bundle/Application/24BC3D00-E2E6-46B6-821F-B290665CF820/SampleApp.app/Frameworks/XCTest.framework/XCTest' (errno=2),
'/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/XCTest.framework/XCTest' (errno=2)
Library not loaded: @rpath/XCTest.framework/XCTest
Referenced from: <E8E24ECE-C759-3CF6-AA8C-754959DB29F6> /Users/<user home>/Library/Developer/Xcode/DerivedData/<SDK Name>-aoofobgnguypdxgcfjihpmsqhxjt/Build/Products/Debug-iphonesimulator/FBSnapshotTestCase.framework/FBSnapshotTestCase
Reason: tried: '/Users/<user home>/Library/Developer/Xcode/DerivedData/<SDK Name>-aoofobgnguypdxgcfjihpmsqhxjt/Build/Products/Debug-iphonesimulator/XCTest.framework/XCTest' (errno=2),
'/Users/<user home>/Library/Developer/CoreSimulator/Devices/BD21B3CE-8869-4DFE-8994-F158B31A7D44/data/Containers/Bundle/Application/24BC3D00-E2E6-46B6-821F-B290665CF820/SampleApp.app/Frameworks/XCTest.framework/XCTest' (errno=2),
'/Users/<user home>/Library/Developer/Xcode/DerivedData/<SDK Name>-aoofobgnguypdxgcfjihpmsqhxjt/Build/Products/Debug-iphonesimulator/FBSnapshotTestCase.framework/Frameworks/XCTest.framework/XCTest' (errno=2), '/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhon
dyld config: DYLD_SHARED_CACHE_DIR=/Users/<user home>/Library/Developer/CoreSimulator/Caches/dyld/22F66/com.apple.CoreSimulator.SimRuntime.iOS-16-2.20C52 DYLD_ROOT_PATH=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/<user home>/Library/Developer/Xcode/DerivedData/<SDK Name>-aoofobgnguypdxgcfjihpmsqhxjt/Build/Products/Debug-iphonesimulator:/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/usr/lib/libRPAC.dylib:/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib DYLD_FRAMEWORK_PATH=/Users/<user home>/Library/Developer/Xcode/DerivedData/<SDK Name>-aoofobgnguypdxgcfjihpmsqhxjt/Build/Products/Debug-iphonesimulator DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib
(lldb)
Post
Replies
Boosts
Views
Activity
When I try to convert date to Arabic language with below code & ar_AE language code, it does not work.
let dateFormatter = DateFormatter()
dateFormatter.dateStyle = .medium
dateFormatter.locale = Locale.init(identifier: "ar_AE")
lblDate.text = dateFormatter.string(from: Date())
when we change the language code to _ar_OM_ or ar_SD or any other Arabic countries it works in iOS.
let dateFormatter = DateFormatter()
dateFormatter.dateStyle = .medium
dateFormatter.locale = Locale.init(identifier: "ar_OM")
lblDate.text = dateFormatter.string(from: Date())
Tested on iOS 15.5 & 13.3, there is nothing related to iOS version.
Request someone to help me to understand the reason why "ar_AE" code is not working while if I provide identifier "ar" it works perfectly & that would be great help if we can resolve this.