我有一个我开发的 Cocoa Touch 框架,用于在我的 iOS 应用程序和 iOS 8 上的 WatchKit 应用程序中使用。我对 iOS 8 没有任何问题,但是当我将项目移动到 iOS 9 并更新 WatchKit 应用程序以本地运行时,我得到以下错误:
ParkFinderKit was rejected as an implicit dependency for 'ParkFinderKit.framework' because it doesn't contain platform 'watchsimulator' in its SUPPORTED_PLATFORMS 'iphonesimulator, iphoneos'
我试图手动将 watchossimulator 和 watchos 添加到支持的平台列表中:
但是,这会产生另一个错误:
ParkFinderKit was rejected as an implicit dependency for 'ParkFinderKit.framework' because its SDK is platform 'com.apple.platform.iphonesimulator' and it needs to match platform 'com.apple.platform.watchsimulator'
关于如何解决我的问题的任何想法?