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
My Pod requires special settings to compile and I set it in the Podfile::
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO' end if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle" target.build_configurations.each do |config| config.build_settings['CODE_SIGN_IDENTITY[sdk=macosx*]'] = '-' end end end end
pod gen xx.podspec --gen-directory=xx --platforms=ios --use-podfile --clean --auto-open
However, the generated Xcode project use own defalult setting. In Podfile Set BUILD_LIBRARY_FOR_DISTRIBUTION & CLANG_WARN_DOCUMENTATION_COMMENTS &CODE_SIGN_IDENTITY[sdk=macosx*] not working:
can someone tell me how to solve this problem?
The text was updated successfully, but these errors were encountered:
My Pod requires special settings to compile and I set it in the Podfile::
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO' end if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle" target.build_configurations.each do |config| config.build_settings['CODE_SIGN_IDENTITY[sdk=macosx*]'] = '-' end end end end
pod gen xx.podspec --gen-directory=xx --platforms=ios --use-podfile --clean --auto-open
However, the generated Xcode project use own defalult setting. In Podfile Set BUILD_LIBRARY_FOR_DISTRIBUTION & CLANG_WARN_DOCUMENTATION_COMMENTS &CODE_SIGN_IDENTITY[sdk=macosx*] not working:
can someone tell me how to solve this problem?
The text was updated successfully, but these errors were encountered: