When I created xcframework with xcode, I referred to the site below, but when I added AFNetworking within xcframework, I got an error during the build.
specifying in xcframework:
pod 'AFNetworking', '~>4.0'
error messages:
fatal error: 'AFNetworking/AFNetworking.h' file not found
Is it possible to create an xcframework using an additional framework using pod?
If anyone knows, please let me know.
referenced sites:
Create xcframework (first time)
If you add AFNetworking (.framework)
to Framework
, can you create xcframwalk
with framework
in framework
?
I understand that xcframework
is considered for use on multiple platforms, but I have heard that iOS
rejects the examination if framework
is incorporated with framework
.
Since you seem to be using Cocoapods
, I think it's the right way to write afnetworking
in podfile
instead of adding afnetworking
to podspec
dependencies.
© 2024 OneMinuteCode. All rights reserved.