Closed lls275 closed 2 years ago
I don't know what happenned to you. But I can ensure you have changed the project settings. just checkout source code from beginning and try it again.
I don't know what happenned to you. But I can ensure you have changed the project settings. just checkout source code from beginning and try it again.
May I ask the author, which xcode version are you using now to compile?
too weird! I also use this version to compile, but the above error occurs. I compiled according to the following steps, but the error still occurs.I am using macos on the x86 platform.
git clone --recurse-submodules https://github.com/ShadowsocksR-Live/iShadowsocksR.git
cd iShadowsocksR
sudo gem install cocoapods
pod install # pull down dependencies into our project
Can you tell me the detailed steps? There is a bug that occurs https://github.com/ShadowsocksR-Live/iShadowsocksR/issues/65#issue-1058240829
What is your current Macos system version?
When I build the project, I find that the Cycle inside CallbackURLKit; building could produce unreliable results. error will appear. How can I fix it? ...
According to the prompt information to modify. "This usually can be resolved by moving the target's Headers build phase before Compile Sources."
this is the only change point for the full project. do NOT change any others. don't mind the tons of warnnings, there all can ignored. Never Never Never do the stupid pod update
. OK?
And this is all my chnges for the full project. run command git diff
on my project root folder.
diff --git a/PacketTunnel/PacketTunnel.entitlements b/PacketTunnel/PacketTunnel.entitlements
index c8ca4e6..317db23 100644
--- a/PacketTunnel/PacketTunnel.entitlements
+++ b/PacketTunnel/PacketTunnel.entitlements
@@ -10,7 +10,7 @@
</array>
<key>com.apple.security.application-groups</key>
<array>
- <string>group.com.ssrlive.issr</string>
+ <string>group.com.fuckxjp.issr</string>
</array>
<key>keychain-access-groups</key>
<array>
diff --git a/TodayWidget/TodayWidget.entitlements b/TodayWidget/TodayWidget.entitlements
index c8ca4e6..317db23 100644
--- a/TodayWidget/TodayWidget.entitlements
+++ b/TodayWidget/TodayWidget.entitlements
@@ -10,7 +10,7 @@
</array>
<key>com.apple.security.application-groups</key>
<array>
- <string>group.com.ssrlive.issr</string>
+ <string>group.com.fuckxjp.issr</string>
</array>
<key>keychain-access-groups</key>
<array>
diff --git a/iShadowsocksR.xcodeproj/project.pbxproj b/iShadowsocksR.xcodeproj/project.pbxproj
index ac78279..d942bc1 100644
--- a/iShadowsocksR.xcodeproj/project.pbxproj
+++ b/iShadowsocksR.xcodeproj/project.pbxproj
@@ -3771,7 +3771,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- DEVELOPMENT_TEAM = "";
+ DEVELOPMENT_TEAM = YITUI625FU;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
@@ -3796,7 +3796,7 @@
"@rpath/Frameworks",
);
OTHER_SWIFT_FLAGS = "$(inherited) \"-D\" \"COCOAPODS\" -DDEBUG";
- PRODUCT_BUNDLE_IDENTIFIER = com.ssrlive.issr;
+ PRODUCT_BUNDLE_IDENTIFIER = com.fuckxjp.issr;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -3818,7 +3818,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = "";
+ DEVELOPMENT_TEAM = YITUI625FU;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
@@ -3842,7 +3842,7 @@
"@executable_path/Frameworks",
"@rpath/Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = com.ssrlive.issr;
+ PRODUCT_BUNDLE_IDENTIFIER = com.fuckxjp.issr;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -3866,7 +3866,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEBUG_INFORMATION_FORMAT = dwarf;
- DEVELOPMENT_TEAM = "";
+ DEVELOPMENT_TEAM = YITUI625FU;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
@@ -3878,7 +3878,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = "com.ssrlive.issr.$(TARGET_NAME)";
+ PRODUCT_BUNDLE_IDENTIFIER = "com.fuckxjp.issr.$(TARGET_NAME)";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -3899,7 +3899,7 @@
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = "";
+ DEVELOPMENT_TEAM = YITUI625FU;
FRAMEWORK_SEARCH_PATHS = "$(inherited)";
GCC_PREPROCESSOR_DEFINITIONS = (
"$(inherited)",
@@ -3911,7 +3911,7 @@
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
- PRODUCT_BUNDLE_IDENTIFIER = "com.ssrlive.issr.$(TARGET_NAME)";
+ PRODUCT_BUNDLE_IDENTIFIER = "com.fuckxjp.issr.$(TARGET_NAME)";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -3931,7 +3931,7 @@
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- DEVELOPMENT_TEAM = "";
+ DEVELOPMENT_TEAM = YITUI625FU;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
@@ -3963,7 +3963,7 @@
"$(PROJECT_DIR)/PacketTunnel/Shadowsocks/libsodium-ios/lib",
"$(PROJECT_DIR)/PacketTunnel",
);
- PRODUCT_BUNDLE_IDENTIFIER = "com.ssrlive.issr.$(TARGET_NAME)";
+ PRODUCT_BUNDLE_IDENTIFIER = "com.fuckxjp.issr.$(TARGET_NAME)";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -3981,7 +3981,7 @@
CODE_SIGN_IDENTITY = "iPhone Distribution";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CODE_SIGN_STYLE = Automatic;
- DEVELOPMENT_TEAM = "";
+ DEVELOPMENT_TEAM = YITUI625FU;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
"$(PROJECT_DIR)",
@@ -4013,7 +4013,7 @@
"$(PROJECT_DIR)/PacketTunnel/Shadowsocks/libsodium-ios/lib",
"$(PROJECT_DIR)/PacketTunnel",
);
- PRODUCT_BUNDLE_IDENTIFIER = "com.ssrlive.issr.$(TARGET_NAME)";
+ PRODUCT_BUNDLE_IDENTIFIER = "com.fuckxjp.issr.$(TARGET_NAME)";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
PROVISIONING_PROFILE_SPECIFIER = "";
diff --git a/iShadowsocksR/Potatso.entitlements b/iShadowsocksR/Potatso.entitlements
index 64cdda7..df48c4c 100644
--- a/iShadowsocksR/Potatso.entitlements
+++ b/iShadowsocksR/Potatso.entitlements
@@ -12,7 +12,7 @@
</array>
<key>com.apple.security.application-groups</key>
<array>
- <string>group.com.ssrlive.issr</string>
+ <string>group.com.fuckxjp.issr</string>
</array>
<key>keychain-access-groups</key>
<array>
When I build the project, I find that the Cycle inside CallbackURLKit; building could produce unreliable results. error will appear. How can I fix it?