ERROR at //build/config/ios/ios_sdk.gni:96:21: Script returned non-zero exit code.
_ios_sdk_result = exec_script(script_name, ios_sdk_info_args, "scope")
^----------
Current dir: /Users/kesonxie/Project/cronet/cronet_ios/src/out/Debug-iphonesimulator/
Command: python /Users/kesonxie/Project/cronet/cronet_ios/src/build/config/mac/sdk_info.py --get_sdk_info iphonesimulator
Returned 1.
stderr:
Traceback (most recent call last):
File "/Users/kesonxie/Project/cronet/cronet_ios/src/build/config/mac/sdk_info.py", line 106, in <module>
FillXcodeVersion(settings, args.developer_dir)
File "/Users/kesonxie/Project/cronet/cronet_ios/src/build/config/mac/sdk_info.py", line 58, in FillXcodeVersion
settings['xcode_version'] = FormatVersion(lines[0].split()[-1])
File "/Users/kesonxie/Project/cronet/cronet_ios/src/build/config/mac/sdk_info.py", line 42, in FormatVersion
major, minor, patch = SplitVersion(version)
File "/Users/kesonxie/Project/cronet/cronet_ios/src/build/config/mac/sdk_info.py", line 29, in SplitVersion
version = version.split('.')
TypeError: a bytes-like object is required, not 'str'
See //remoting/remoting_enable.gni:8:3: whence it was imported.
import("//build/config/ios/ios_sdk.gni")
^--------------------------------------
See //BUILD.gn:22:1: whence it was imported.
import("//remoting/remoting_enable.gni")
^--------------------------------------
This seems like the current version of code not support python3. If i add the decode function before the strip function that can fix this problem.But another problem come out. Like bellow:
ERROR at //BUILD.gn:28:1: Unable to load "/Users/kesonxie/Project/cronet/cronet_ios/src/v8/gni/snapshot_toolchain.gni".
import("//v8/gni/snapshot_toolchain.gni")
^---------------------------------------
When i copy the "snapshot_toolchain.gni" to the folder an other error come out,
I don't know what i should do with this .
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/ac707d25-b1c9-484c-bfc9-874611614b76%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "net-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to net-dev+u...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/net-dev/fba7c032-87b1-40f8-a834-51ad61c86821%40chromium.org.