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
When using Xcodeproj 1.2.0, if the Xcode version selected with xcode-select is Xcode 8 beta 6, the following code displays KO. It displays OK if you're using Xcodeproj 1.1.0 or if you've selected Xcode 7.
require"pathname"require"xcodeproj"# The project can be anything, a default iOS project generated by Xcode will do.xcodeproj_path=Pathname.new("Test.xcodeproj")xcodeproj=Xcodeproj::Project.open(xcodeproj_path)xcodeproj.save# If this line is commented out, the problem disappears.# Creating a directory named "test"# (the bug also occurs is the directory is not created by the code but beforehand)test_path=Pathname.new("/tmp/mylittletestdirectory")test_path.mkpathcurrent_path=Dir.pwd# Go to /tmp/mylittletestdirectory.Dir.chdir(test_path)doifcurrent_path != Dir.pwdputs"OK"elseputs"KO"# The current directory should have changed but did not.endend
This seems to have something to do with #389. Removing the line loading one of DVTAnalyticsClient, DVTAnalytics or SourceKit seems to make the problem disappear...
The text was updated successfully, but these errors were encountered:
When using Xcodeproj 1.2.0, if the Xcode version selected with
xcode-select
is Xcode 8 beta 6, the following code displaysKO
. It displaysOK
if you're using Xcodeproj 1.1.0 or if you've selected Xcode 7.This seems to have something to do with #389. Removing the line loading one of DVTAnalyticsClient, DVTAnalytics or SourceKit seems to make the problem disappear...
The text was updated successfully, but these errors were encountered: