You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
初次报错:
error: Building for Mac Catalyst, but the embedded framework 'KSYMediaPlayer.framework' was built for iOS. You may need to restrict the platforms for which this framework should be embedded in the target editor, or replace it with an XCFramework that supports both platforms.
尝试着用xcodebuild命令进行转化:
zhangyunjiang-1:/ zhangyunjiang$ xcodebuild -create-xcframework -framework Users/zhangyunjiang/Desktop/KSYMediaPlayer.framework -output Users/zhangyunjiang/Desktop/xcode/KSYMediaPlayer.xcframework
xcframework successfully written out to: /Users/zhangyunjiang/Desktop/xcode/KSYMediaPlayer.xcframework
但是将生成的KSYMediaPlayer.xcframework 导入工程仍然报错误:
error: While building for Mac Catalyst, no library for this platform was found in 'KSYMediaPlayer.xcframework'.
归根结底是没有支持Mac Catalyst的库
希望能够给予解决!
谢谢!
The text was updated successfully, but these errors were encountered:
初次报错:
error: Building for Mac Catalyst, but the embedded framework 'KSYMediaPlayer.framework' was built for iOS. You may need to restrict the platforms for which this framework should be embedded in the target editor, or replace it with an XCFramework that supports both platforms.
尝试着用xcodebuild命令进行转化:
zhangyunjiang-1:/ zhangyunjiang$ xcodebuild -create-xcframework -framework Users/zhangyunjiang/Desktop/KSYMediaPlayer.framework -output Users/zhangyunjiang/Desktop/xcode/KSYMediaPlayer.xcframework
xcframework successfully written out to: /Users/zhangyunjiang/Desktop/xcode/KSYMediaPlayer.xcframework
但是将生成的KSYMediaPlayer.xcframework 导入工程仍然报错误:
error: While building for Mac Catalyst, no library for this platform was found in 'KSYMediaPlayer.xcframework'.
归根结底是没有支持Mac Catalyst的库
希望能够给予解决!
谢谢!
The text was updated successfully, but these errors were encountered: