-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
When installed this pod with CocoaPods in Xcode 15 beta 6, can not pass build with error " Could not build module 'WebKit' ".
While drag files into project directly works well.
It seems like the WebKit new APIs for iOS 17 cannot be correctly linked.
#if ((TARGET_OS_OSX && __MAC_OS_X_VERSION_MAX_ALLOWED >= 140000) \
|| ((TARGET_OS_IOS || TARGET_OS_MACCATALYST) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 170000) \
|| (TARGET_OS_WATCH && __WATCH_OS_VERSION_MAX_ALLOWED >= 100000) \
|| (TARGET_OS_TV && __TV_OS_VERSION_MAX_ALLOWED >= 170000))
/*! @abstract Gets or sets the proxy configurations to be used to override networking in all WKWebViews that use this WKWebsiteDataStore.
@discussion Changing the proxy configurations might interupt current networking operations in any WKWebView that use this WKWebsiteDataStore,
so it is encouraged to finish setting the proxy configurations before starting any page loads.
*/
@property (nullable, nonatomic, copy) NSArray<nw_proxy_config_t> *proxyConfigurations NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(14.0), ios(17.0));
#endifThe type nw_proxy_config_t declared in Network.framework cannot be found correctly in WebKit header file WKWebsiteDataStore.h
I have tried add dependency of Network.framework for pod target in Build Phase, but still not working.
Is there anyone meets the same error and solved this?
luckyhandler, ShenYj, songgeb, mlp1995 and WayneChou1
Metadata
Metadata
Assignees
Labels
No labels