I use a 2020 Intel MacBook Pro with 14.7.2 (23H311) system. I have been using Xcode 15.4 to develop and publish games. Since new games need to be developed and published using Xcode 16.2, I recently installed two versions of Xcode on my computer. I can run the project normally with Xcode 15.4, but it keeps reporting errors with Xcode 16.2 and cannot run. The error is in UIKit's UIFocusSystem.h file, with the following message: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.2.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h:46:27 Expected ')'
This makes me very confused. Is there something wrong?
I thought it was because the computer could not have two Xcodes, so I uninstalled both Xcodes and then downloaded the 16.2 version of Xcode from the AppStore. However, after running it, it still reported the error Expected ')'
Post
Replies
Boosts
Views
Activity
崩溃信息:sudoku: Dyld Message: Symbol not found: _AVCaptureDeviceTypeBuiltInWideAngleCamera + 0
我的项目是支持iOS9.0以上系统的,并未使用到相机及相关的API,一开始的几个版本并没有这样的崩溃,但是在某一次更新后,Xcode的Crashs信息里就开始出现了这样的崩溃,基本都是9.3的系统发生了崩溃,除此之外没有过多的信息可以查看, Organizer - Crashes面板此崩溃的详情只显示了"No Threads(compression May Be Hiding Threads)"。
我查看了那一次更新所做的修改,只是添加了几个新的第三方SDK,GameAnalytics、AppsFlyer和Pangle,我使用终端命令
grep -p "AVCaptureDeviceTypeBuiltInWideAngleCamera" .
搜索工程项目,显示的结果是Admob、FBAudienceNetwork和GameAnalytics三个SDK有相关的关键词,打开相对应的路径文件,发现也并没有用到,因为Admob和FBAudienceNetwork是一直都有用到的,之前并不会崩溃,所以我就只把GameAnalytics去除了,但是重新更新后,新版本依旧有这样的崩溃,谁能告诉我要怎么去排查这个问题?
Crash message: sudoku: Dyld Message: Symbol not found: _AVCaptureDeviceTypeBuiltInWideAngleCamera + 0
My project supports iOS 9.0 and above, and does not use the camera and related APIs, the first few versions did not have such a crash, but after a certain update, such a crash started to appear in Xcode's Crashs information, basically the 9.3 system crashes, but there is not much information to see, Organizer - Crashes panel details of this crash only shows "No Threads (Compression May Be Hiding Threads)".
I looked at the changes made in that update, which only added a couple of new third-party SDKs, GameAnalytics, AppsFlyer and Pangle, and I used the terminal command
grep -p "AVCaptureDeviceTypeBuiltInWideAngleCamera" .
to search for the project, and the results showed that Admob, FBAudienceNetwork and GameAnalytics have related keywords, and I opened the corresponding path files and found that they are not used, because Admob and FBAudienceNetwork are always useful, and they did not crash before, so I just removed GameAnalytics, but after re-updating, the new version still has such a crash, can anyone tell me how to troubleshoot this problem?