Since the last Xcode update to 12.0.1 SwiftUI previews crashes when is added to the project.
The crash log hints that the problem is located in the firebase sdk, more specific the
GoogleDataTransport/GDTCORLibrary
System Integrity Protection: enabled
Crashed Thread: 3 Dispatch queue: com.google.GDTCORFlatFileStorage
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSFileManager enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:]: URL is nil'
terminating with uncaught exception of type NSException
Firebase (6.33) is integrated via cocoapods (1.10.0.rc.1) with
Xcode 12.0.1 on Catalina 10.15.7
There is an open issue on github
Someone found a solution or workaround for this?
Downgrading GoogleDataTransport from 7.4.0 to 7.3.0 does the trick however If you use Firebase 6.33.0 downgrading will not work because version GoogleDataTransport 7.4 version was locked in Firebase Core podspec. According to crash report Preview crashes in AppDelegate FirebaseApp.configure(), so if Firebase functionality isn't required in DEBUG it might be excluded with macros:
#if RELEASE
FirebaseApp.configure()
#endif
Downgrading GoogleDataTransport from 7.4.0 to 7.3.0 fixes the problem
=> pod 'GoogleDataTransport', '7.3.0'
Related
i have an app crash issue on ios real device
libc++abi: terminating with uncaught exception of type NSException
dyld4 config: DYLD_LIBRARY_PATH=/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/GPUTools.framework/libglInterpose.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Call must be made on main thread'
terminating with uncaught exception of type NSException
Apple macOS: 11.6.6 Big Sur Xcode: 13.2.1 ios-deploy: 1.11.4
CocoaPods: 1.11.3 cordova : 11.0.0 cordova-platform-ios : 6.2.0
webrtc-adapter-version : 8.1.1
This issue was created by using some deprecated plugins, so remove the deprecated plugin and find alternative sources.
Xcode keeps crashing whenever I try to run any .xcodeproj or .xcworkspace project.
Solutions I've tried are: reinstalling Xcode, deleting derived data, and deleting xcuserstate folder.
Xcode keeps failing with the below error:
Process: Xcode [7099]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 12.4 (17801)
Build Info: IDEFrameworks-17801000000000000~7 (12D4e)
App Item ID: 497799835
App External ID: 839994694
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [7099]
User ID: 501
Date/Time: 2021-03-13 11:03:31.401 +0100
OS Version: macOS 11.0.1 (20B29)
Report Version: 12
Anonymous UUID: 007E7CE0-17B1-C3EF-5191-4E8908451B4E
Sleep/Wake UUID: 310A38F4-3A1F-4C76-8D12-A255873336E7
Time Awake Since Boot: 28000 seconds
Time Since Wake: 570 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
ProductBuildVersion: 12D4e
ASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-17801/IDEKit/Workspace/IDEWorkspaceDocument.m:3270
Details: (tabController) should not be nil.
Object: <IDEWorkspaceDocument: 0x7fa04eecbff0>
Method: -commitStateToDictionary:
Thread: <NSThread: 0x7fa045904c20>{number = 1, name = main}
Open FDs: 41/7168
Hints:
I have the same problem as you but on my side Xcode crashes only when I open a project directly from the fast project opening window (the one that opens when Xcode is launched)
Try to open the project through the Finder or from the terminal directly with the command open /nameProject/xcWorkspace
I don't have any problems with this method.
ionic app crash in ios version 12.2 after install background mode(latest version). i am also updated background Mode from git but app crash initially.
Below Exception when app initialized
*** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]
: this class is not key value coding-compliant for the key _alwaysRunsAtForegroundPriority.'
My confilg.xml below
<plugin name="cordova-plugin-background-mode" spec="https://github.com/tushe/cordova-plugin-background-mode.git" />
My package.json below
"cordova-plugin-background-mode": "git+https://github.com/tushe/cordova-plugin-background-mode.git",
I am also try to different solution
1- forKey:#"requiresUserActionForMediaPlayback"];
2-
I'm using the last version of UnityAds 1.1.4 with Unity 4.6.4f1. I have upgraded to Xcode 6.3.1 and I can build IOS version but when I'm running the game on the device I get the error:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UnityAds setUnityVersion:]: unrecognized selector sent to instance 0x1c19f6d0'
This appears in UnityAdsUnityWrapper.m at line : [[UnityAds sharedInstance] setUnityVersion:unityVersion];
Everything was working before Xcode update and Unityads update
Unity Ads dev here. This is probably caused by a problem when upgrading the asset store package. You should remove all Unity Ads related files from your Unity project and reimport the package.
I had the same issue, this worked for me:
Search project with 'UnityAds' and delete every asset that is found
Delete Plugins/iOS/DeviceInfo.framework
Delete Editor/PostprocessBuildPlayer_DeviceInfo
Re-import newest version of UnityAds
I'm using XCode 6.3.1 & Unity 4.6.3f1
After App Store approvement my app started to crash on launch on 3.1.2 devices. Debug version installed from Xcode works fine on 3.1.2. Both debug and distribution version from App Store work fine on 3.2 and 4.0.1 devices. From crash log:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Any ideas what could be wrong?
Does it crash on start or after a specific scenario?
First you have to make sure that that the target 3.1.2 is unmodded/jailbroken, as it might affect some binaries. Also, make sure that it is the same device that tested both debug and release versions.
Check for any 3.2 (and above) specific messages that you send.
After that, either modify your code and check using respondsTo: as in:
if ([receiver respondsTo:someMessage]) {
[receiver someMessage];
} else {
// Some alternative code
}
or modify your version requirement. But be careful about this decision because this will limit your market.