Comments (5)
Thanks for the help. I was able to build it once changed the command accordingly. But got struck at the next to sign this app using isign(https://github.com/apperian/isign). I am able to sign every other app using isign but this one fails. I am not sure why this is happening. I am getting this error when try to sign the app. Can you please help?
bash-3.2$ isign -c ~/.isign/certificate.pem -k ~/.isign/key.pem -p ~/.isign/isign.mobileprovision -o /tmp/derivedDataPath/Build/Products/Release-iphoneos/WebDriverAgentRunner-Runner-Resigned.app /tmp/derivedDataPath/Build/Products/Release-iphoneos/WebDriverAgentRunner-Runner.app
Traceback (most recent call last):
File "/usr/local/bin/isign", line 4, in <module>
__import__('pkg_resources').run_script('isign==1.6.15.1614128083.dev77+root', 'isign')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 666, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources/__init__.py", line 1453, in run_script
exec(code, namespace, namespace)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/EGG-INFO/scripts/isign", line 199, in <module>
isign.resign(app_path, **kwargs)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/isign/isign.py", line 79, in resign
alternate_entitlements_path)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/isign/archive.py", line 401, in resign
ua.bundle.resign(signer, provisioning_profile, alternate_entitlements_path)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/isign/bundle.py", line 259, in resign
super(App, self).resign(signer)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/isign/bundle.py", line 176, in resign
self.sign(signer)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/isign/bundle.py", line 143, in sign
framework.resign(signer)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/isign/bundle.py", line 176, in resign
self.sign(signer)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/isign/bundle.py", line 171, in sign
executable = self.signable_class(self, self.get_executable_path(), signer)
File "/Library/Python/2.7/site-packages/isign-1.6.15.1614128083.dev77+root-py2.7.egg/isign/signable.py", line 43, in __init__
self.m = macho.MachoFile.parse_stream(self.f)
File "/Library/Python/2.7/site-packages/construct-2.5.2-py2.7.egg/construct/core.py", line 198, in parse_stream
return self._parse(stream, Container())
File "/Library/Python/2.7/site-packages/construct-2.5.2-py2.7.egg/construct/core.py", line 670, in _parse
subobj = sc._parse(stream, context)
File "/Library/Python/2.7/site-packages/construct-2.5.2-py2.7.egg/construct/core.py", line 851, in _parse
obj = self.cases.get(key, self.default)._parse(stream, context)
File "/Library/Python/2.7/site-packages/construct-2.5.2-py2.7.egg/construct/core.py", line 670, in _parse
subobj = sc._parse(stream, context)
File "/Library/Python/2.7/site-packages/construct-2.5.2-py2.7.egg/construct/core.py", line 445, in _parse
raise ArrayError("expected %d, found %d" % (count, c), sys.exc_info()[1])
construct.core.ArrayError: ('expected 4, found 3', ArrayError('expected 26, found 5', MappingError('no decoding mapping for 2147483700 [cmd]',)))
from taobao-iphone-device.
xcodebuild build-for-testing -workspace WebDriverAgent.xcworkspace/ -scheme WebDriverAgentRunner \
-sdk iphoneos -configuration Release -derivedDataPath /tmp/derivedDataPath
-scheme WebDriverAgentRunner
from taobao-iphone-device.
Try this: https://dantheman827.github.io/ios-app-signer/
from taobao-iphone-device.
Thanks for the suggestions. I tried to see if its possible to re-sign the web driver agent ipa file in linux system, but since it seems like its not working out, I has to settle for macOS system. If you know some way of signing this in linux please do let me know. Anyway thanks again for the suggestions.
from taobao-iphone-device.
@vikram-chaitanya How about this tool. https://github.com/sauce-archives/isign works on Linux
from taobao-iphone-device.
Related Issues (20)
- tidevice wdaproxy start wda failed:because HTTPError: 404 Client Error: Not Found Url : https://tool.appetizer.io/JinjunHan/iOSDeviceSupport/raw/master/iOSDeviceSupport/17.0.zip HOT 1
- Update dependency `urllib3`
- 【求助】我想获取设备当前连接WiFi的IP地址,该怎么获取呢? HOT 2
- iOS16.7 tidevice wda started failed HOT 1
- 【需求】tidevice crashreport只能导出目录,不能导出指定文件
- 【需求】tidevice最新版本不支持iOS17,请问什么时候可以支持 HOT 4
- 请问python代码中MarketName如何获取呢
- 如何使用url scheme唤醒应用 HOT 2
- tidevice ps raise FileExistsError HOT 1
- tidevice.exceptions.MuxServiceError: MissingValue
- ios仅进行不断左滑的操作,之前用性能狗大概cpu平均5%,tidevice会达到40%,相同场景 HOT 2
- handling sigpipe HOT 1
- 无法启动WDA HOT 2
- 获取手机列表无法显示 (idevice_id没问题) HOT 4
- 获取手机列表报错,20多台手机的时候会出现这个错误4294967295 is not a valid UsbmuxReplyCode HOT 2
- WDA no SessionID and request error: ('Connection aborted.', MuxReplyError(<UsbmuxReplyCode.ConnectionRefused: 3>))
- [af999665d5f7e8e75f09ab4d80fe5719d1859eb9] request error: ('Connection aborted.', MuxReplyError(<UsbmuxReplyCode.ConnectionRefused: 3>)) HOT 1
- Windows系统中使用ios原生定位方位(IOS_PREDICATE、IOS_CLASS_CHAIN)报错,但xpath可以正常使用。 HOT 1
- 不能群控多台的问题解决了么?求解答
- 入群的密码是多少? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from taobao-iphone-device.