You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2020/03/04 17:51:04 UTC

[GitHub] [cordova-ios] sebastian-zarzycki-es opened a new issue #806: ITMS-90381: Too many symbol files

sebastian-zarzycki-es opened a new issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806
 
 
   # Bug Report
   
   ## Problem
   I'm not sure if this is the correct place to submit, but I couldn't think of any better.
   Basically, I've recently switched to cordova-ios 5.1.1 and cordova 9.0.0 for my Ionic app. I'm using the modern build system for iOS (no legacy system). I'm using several plugins that use cocoapods (firebasex, login via facebook, login via google, etc.). After submitting a build to Apple, they've responded with "Too many symbol files" warning. Usually, this was solved by
   
   ```
   post_install do |installer|
       installer.pods_project.targets.each do |target|
           target.build_configurations.each do |config|
               config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
           end
       end
   end
   ```
   
   added the Podfile, but it doesn't seem to be working now. 
   
   I've noticed that when I open the XCode workspace and select the Pods project, every Pod has indeed set debug information format to DWARF, but only for Debug target, where for Release target, it says "DWARF with dSYM". Switching it manually back to just "DWARF" seems to solve it (Apple doesn't complain about the symbols).
   
   Perhaps this should be some kind of array, i.e. `config.build_settings['DEBUG_INFORMATION_FORMAT'] = ['dwarf', 'dwarf']?` - I'm not familiar with the format here.
   
   ![Screenshot 2020-03-04 at 18 31 48](https://user-images.githubusercontent.com/11352013/75906701-60539200-5e47-11ea-868a-5b7177cbd6ee.png)
   
   Should this be supported by cordova-ios by default?
   
   ### What is expected to happen?
   No warnings from Apple.
   
   ### What does actually happen?
   I understand that some additional symbols are copied to the resulting release binary, and they shouldn't. I'm confused as to which part of the compilation stack should be responsible for it (cordova? cordova-ios? plugin author?)
   
   ## Checklist
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] th3hamm0r commented on issue #806: ITMS-90381: Too many symbol files

Posted by GitBox <gi...@apache.org>.
th3hamm0r commented on issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806#issuecomment-603877326
 
 
   +1

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] sebastian-zarzycki-es commented on issue #806: ITMS-90381: Too many symbol files

Posted by GitBox <gi...@apache.org>.
sebastian-zarzycki-es commented on issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806#issuecomment-603892711
 
 
   `pod install` does nothing for me. The Release subvalue is still pointing to Dwarf with dSYM. I have to switch this manually every time for now.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] timbru31 commented on issue #806: ITMS-90381: Too many symbol files

Posted by GitBox <gi...@apache.org>.
timbru31 commented on issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806#issuecomment-603880560
 
 
   Have you followed, e.g., https://github.com/dpa99c/cordova-plugin-firebasex#strip-debug-symbols?
   
   @th3hamm0r - +1 comments are not helpful, please use GitHub's reaction system instead, otherwise you trigger notifications (and event emails) for many people.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] th3hamm0r commented on issue #806: ITMS-90381: Too many symbol files

Posted by GitBox <gi...@apache.org>.
th3hamm0r commented on issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806#issuecomment-603891059
 
 
   @timbru31 I'm not using this plugin, I think cordova-ios needs this or some other handling to avoid unnecessary dsyms from CocoaPods. In my case those UUIDs from the ITMS warning all reference armv7-dsyms, which are not needed starting with iOS 11
   
   @sebastian-zarzycki-es fyi, for me it worked by adding those lines to the Podfile AND executing `pod install` inside the "platforms/ios" folder. But of course, this is only a temporary solution.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] th3hamm0r edited a comment on issue #806: ITMS-90381: Too many symbol files

Posted by GitBox <gi...@apache.org>.
th3hamm0r edited a comment on issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806#issuecomment-603891059
 
 
   @timbru31 I'm not using this plugin, I think cordova-ios needs this or some other handling to avoid unnecessary dsyms from CocoaPods. In my case those UUIDs from the ITMS warning all reference armv7-dsyms, which are not needed starting with iOS 11
   
   @sebastian-zarzycki-es fyi, for me it worked by adding those lines to the Podfile AND executing `pod install` inside the "platforms/ios" folder. But of course, this is only a temporary solution and you may loose some debug information in your crashlytics reports (from those libraries).

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] sebastian-zarzycki-es commented on issue #806: ITMS-90381: Too many symbol files

Posted by GitBox <gi...@apache.org>.
sebastian-zarzycki-es commented on issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806#issuecomment-603882393
 
 
   Yes, I did. 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] sebastian-zarzycki-es edited a comment on issue #806: ITMS-90381: Too many symbol files

Posted by GitBox <gi...@apache.org>.
sebastian-zarzycki-es edited a comment on issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806#issuecomment-603882393
 
 
   Yes, I did. If I weren't, there would be no Debug information format changes at all. What IOS_STRIP_DEBUG=true from firebasex does is basically just adding that piece I've pasted at the top.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


[GitHub] [cordova-ios] th3hamm0r commented on issue #806: ITMS-90381: Too many symbol files

Posted by GitBox <gi...@apache.org>.
th3hamm0r commented on issue #806: ITMS-90381: Too many symbol files
URL: https://github.com/apache/cordova-ios/issues/806#issuecomment-603939604
 
 
   I've now tried some other things and it seems like the issue is already solved by CocoaPods (see referenced [GH](https://github.com/CocoaPods/CocoaPods/issues/7111) issue in https://stackoverflow.com/a/50582315), so instead of the `post_install` code I did the following:
   1. change the platform in the `Podfile` from 10.0 to 11.0 (my xcode project is already set for 11.0, only the Podfile is set to 10.0)
   2. execute `pod install` inside the "platforms/ios" folder
   
   Now the generated app archive only contains dsyms for the relevant archs (arm64).
   @sebastian-zarzycki-es Is this working for you?
   
   But changing the deployment target in the Podfile is still a temporary solution. Actually there is a "deployment-target" preference for the config.xml, but changing this to "11.0" does not change the Podfile atm. I've found a related issue: https://github.com/apache/cordova-ios/issues/580

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org