Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status of ios-deploy with Xcode 11 #422

Closed
fxcoudert opened this issue Nov 23, 2019 · 8 comments
Closed

Status of ios-deploy with Xcode 11 #422

fxcoudert opened this issue Nov 23, 2019 · 8 comments

Comments

@fxcoudert
Copy link

Hi, I'm a Homebrew maintainer, and we're trying to determine how to get ios-deploy to build again with Xcode 11. Right now, I've tried several things:

    /bin/sh -c /Users/fx/Library/Developer/Xcode/DerivedData/ios-deploy-dgqwmloyxgwfclggfjcxuaaerflb/Build/Intermediates.noindex/ios-deploy.build/Release/ios-deploy-tests.build/Script-3BF32EF31F5A215300E1699B.sh
rsync: delete_file: rmdir "/tmp/ios-deploy-20191123-72714-yf2pjl/ios-deploy-1.10.0-beta.3/_Frameworks/MobileDevice.framework" failed: Directory not empty (66)
rsync error: some files could not be transferred (code 23) at /BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-54/rsync/main.c(996) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code


Test session results, code coverage, and logs:
	/Users/fx/Library/Developer/Xcode/DerivedData/ios-deploy-dgqwmloyxgwfclggfjcxuaaerflb/Logs/Test/Test-ios-deploy-tests-2019.11.23_14-03-31-+0100.xcresult

Testing failed:
	Command PhaseScriptExecution failed with a nonzero exit code
	Testing cancelled because the build failed.

** TEST FAILED **


The following build commands failed:
	PhaseScriptExecution Run\ Script /Users/fx/Library/Developer/Xcode/DerivedData/ios-deploy-dgqwmloyxgwfclggfjcxuaaerflb/Build/Intermediates.noindex/ios-deploy.build/Release/ios-deploy-tests.build/Script-3BF32EF31F5A215300E1699B.sh
(1 failure)
  • Current master branch does not build, same error as 1.10.0-beta.3.

Advice is welcome. If ios-deploy is not going to build with Xcode 11 in a reasonable time frame, we may have to remove it from Homebrew.

@l3ender
Copy link

l3ender commented Nov 24, 2019

Did you try the steps described at #387 (comment):

...after you have the build fail initially on the 1.9.x versions of ios-deploy you may not get it to actually work until you clear out the old partial/failed build like so:

\rm -fr ~/Library/Developer/Xcode/DerivedData/ios-deploy-*

After I did that, and an npm -g uninstall ios-deploy I was able to install it with npm -g install ios-deploy@beta and the compile worked

The key is to clear any existing derived data folder and then reinstall using beta version. I just did this on Catalina 10.15.1 with Xcode 11.2.1 and it worked.

@fxcoudert
Copy link
Author

  • Homebrew is building in a scratch directory every time (enforced by a sandbox), so there are no leftover files from previous runs anywhere. We do see the errors reported nonetheless.
  • If a step is part of the compilation, shouldn't it be included in the build script?

@fxcoudert
Copy link
Author

@gabebear @shazron I need guidance here, otherwise will recommend removal from Homebrew (and it seems, from comments around, that a lot of users rely on Homebrew as a distribution method for ios-deploy). Thanks!

@Ukalnins
Copy link

Ukalnins commented Dec 4, 2019

The #387 fixed it for the ios-deploy target, but not for the ios-deploy-tests target.

Ukalnins added a commit to Ukalnins/ios-deploy that referenced this issue Dec 4, 2019
Ukalnins added a commit to Ukalnins/ios-deploy that referenced this issue Dec 4, 2019
@Ukalnins
Copy link

Ukalnins commented Dec 4, 2019

@fxcoudert I submitted a PR for the fix. You could verify that it also fixes it for you :-)

gabebear added a commit that referenced this issue Dec 5, 2019
@gabebear
Copy link

gabebear commented Dec 9, 2019

I packaged up the most recent changes in a new beta4 release which I'm planning on releasing shortly(early this week) once I do some basic testing.

beta4 fixes the issue with compiling in Xcode11 you were seeing and getting 1.10.0 out as stable should alleviate some confusion.

@gabebear
Copy link

gabebear commented Dec 9, 2019

I've cut 1.10.0 as the stable release(on npmjs.org and github).

@fxcoudert What is the process for updating the brew forumlua? https://formulae.brew.sh/formula/ios-deploy

@gabebear
Copy link

gabebear commented Dec 9, 2019

I believe Homebrew/homebrew-core#47661 will update Homebrew

@gabebear gabebear closed this as completed Dec 9, 2019
geekonion pushed a commit to geekonion/ios-deploy that referenced this issue Jun 29, 2023
geekonion pushed a commit to geekonion/ios-deploy that referenced this issue Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants