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
I'm using apple_xcframework to generate a xcframework for ios (arm64 + arm64 simulator). But Info.plist for frameworks is always generated same for simulator and device with same value in CFBundleSupportedPlatforms, DTPlatformName and DTSDKName.
It depends what is passed to build command in --ios_multi_cpus or not passed at all, but anyway it is always either iphonesimulator or iphoneos for both ios and simulator frameworks.
I've found that issue is in platform_support.bzl in _platform_prerequisites method which returns same platform for any environment.
Maybe I'm doing something wrong in configuration and some fix already exists?
The text was updated successfully, but these errors were encountered:
I'm using apple_xcframework to generate a xcframework for ios (arm64 + arm64 simulator). But Info.plist for frameworks is always generated same for simulator and device with same value in CFBundleSupportedPlatforms, DTPlatformName and DTSDKName.
It depends what is passed to build command in
--ios_multi_cpus
or not passed at all, but anyway it is always eitheriphonesimulator
oriphoneos
for both ios and simulator frameworks.bazel build //Sources/SwiftProtobuf:SwiftProtobuf --apple_platform_type=ios --ios_multi_cpus=sim_arm64,arm64
I've found that issue is in platform_support.bzl in
_platform_prerequisites
method which returns sameplatform
for any environment.Maybe I'm doing something wrong in configuration and some fix already exists?
The text was updated successfully, but these errors were encountered: