I have changed myApp.app to Universal binary with following guideline by Apple, so under M1 MacBook pro app's architecture is showing in Activity Monitor "Apple" but I have some CLUs as well which are still showing "Intel" while running.
This documentaion has only mentioned about how we can change our project, script files(if any). There is no information on how can we make CLU universal too,
please advise.
https://developer.apple.com/documentation/xcode/building_a_universal_macos_binary
Post
Replies
Boosts
Views
Activity
I have enabled my existing codebase to create a universal binary in Xcode 12.2 i.e have used the standard architecture given in Xcode.
While doing changes, got error "implicit declaration is invalid for sqlitekey function in c99" so in order to resolve it I added the function header in FMDatabase.m class. Now if I build the code then I was getting "The linked library 'libsqlite3.dylib' is missing one or more architectures required by this target: arm64", so I removed this lib and added libsqlite3.0.tbd then code was running fine. Later when I tested the app in different OS versions.
For 10.10.5 and 10.11.6, app is continuously crashing, but working fine in the rest of the OS version available including BigSur.
Crash logs :
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXCBREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Exception Note: EXCCORPSENOTIFY
Application Specific Information:
Performing @selector(selectVolume:) from sender NSButton 0x7fa9f3eb2440
Dyld Error Message:
Symbol not found: sqlite3key
Referenced from: /Applications/IDrive.app/Contents/MacOS/IDrive
Expected in: /usr/lib/libsqlite3.dylib
Global Trace Buffer (reverse chronological seconds):0 CFNetwork 0x00007fff9d820cc4 NSURLConnection finished with error - code -1004
04 CFNetwork 0x00007fff9d82fda1 HTTP load failed (error code: -1004 [1:61])
CFNetwork 0x00007fff9d7608b2 TCP Conn 0x7fa9f6a5ab90 Failed : error 0:61 [61]
CFNetwork 0x00007fff9d760545 TCP Conn 0x7fa9f6a5ab90 complete. fd: -1, err: 61
099 CFNetwork 0x00007fff9d7eee1f TCP Conn 0x7fa9f6a5ab90 event 3. err: 61
CFNetwork 0x00007fff9d75f817 TCP Conn 0x7fa9f6a5ab90 started
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 dyld 0x00007fff6c2a2075 dyldfatalerror + 1
1 dyld 0x00007fff6c2a5094 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139
2 libdyld.dylib 0x00007fff9d397262 dyldstubbinder + 282
3 ??? 0x00000001048ed000 0 + 4371435520
4 com.prosoftnet.IDrive 0x0000000104857663 -[FMDatabase open] + 114
Hi,
I have 2 partitions in iMac (Catalina & Big Sur). Recently I have switched from Big Sur to Catalina from startup disk, later I tried to switch to Big Sur but it was not showing in startup disk. Tried to switch OS while booting, but Big Sur partition did not show up. When system restarted and I checked disk utility there too Big Sur is not listed. Anyone has faced this ?
Any help would be really appreciated.
I cretaed my app.dmg in BigSur through a script, there I am using "hdiutil create -ov -fs HFS+ -srcfolder .. ". When i try yo install Its giving alert "app.pkg can't be installed because its digital signature is invalid" in OSx 10.10,10.11. But if I remove "-fs HFS+" then DMG is not mounting only in OSx 10.10.
I have installed Big sur beta in 1 partition with other Mojave OS partition. When I am in Big Sur, startup disk shows Mojave OS but in Mojave it doesn't list Big Sur so that I can switch OS from there only.