xcodebuild -exportLocalizations hangs until a device is plugged / unplugged or an iOS simulator is opened / closed
| Originator: | carlos.pereira | ||
| Number: | rdar://25857436 | Date Originated: | 21-April-2016 |
| Status: | Open | Resolved: | |
| Product: | Developer Tools | Product Version: | |
| Classification: | Reproducible: |
Summary: When running xcodebuild -exportLocalizations on the Xcode 7.3 command line (build version 7D175), the command-line never returns, making it impossible to use in a build script. When an event related to a device or simulator arrives, (connecting / disconnecting) when execution then unhangs and the command returns. Steps to Reproduce: Run xcodebuild -project (PROJECT_NAME) -exportLocalizations -localizationPath (OUTPUT_PATH) Expected Results: The xliff containing all the strings is generated on OUTPUT_PATH and the command returns the execution. Actual Results: The xliff containing all the strings is generated on OUTPUT_PATH but the command never returns the execution until a simulator is opened (or closed if it was open before executing the command). Or a device is plugged (or unplugged if it was plugged before the execution of the command) from the USB. Then the command returns the execution.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!