breautek commented on issue #1512:
URL: https://github.com/apache/cordova-ios/issues/1512#issuecomment-3237076490

   >  How can I permanently add my edit:   
config.build_settings['ARCHS[sdk=iphonesimulator*]'] = 'x86_64'
   
   I think the only way to do this without modifying the framework is to 
utilize a `before_build` hook, but I'm not 100% sure when pod changes occur 
exactly so I'm not 100% sure if `before_build` hook would be sufficient. The OP 
mentions using `before_compile` as a workaround so that might be usable too.
   
   The script would then have to rewrite the Podfile, and run `pod install` 
again. Naturally the hook will only work if Cordova has already "synced" the 
podfile from your plugin(s) podspec directives.
   
   It's also worth noting that CocoaPods have virtually entered [end of 
life](https://blog.cocoapods.org/CocoaPods-Specs-Repo/). It's being phased out 
and will eventually become a read-only repository. As a result plugin authors 
should look at making a switch to SPM, and cordova-ios@8 is going to introduce 
SPM support.
   
   I believe Apache Cordova intends to continue to support existing CocoaPods 
features (e.g. `<podspec>` for the foreseeable future, but it is being 
deprecated and likely frozen in maintenance. I don't foresee any effort to 
introduce new and maintain features when the entire system is now short-lived.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to