GithubHelp home page GithubHelp logo

修改了bundle identifier还是提示重复,只有把原版微信卸载了才能装,还有就是提示WatchKit相关问题不知道咋弄 about dkwechathelper HOT 8 CLOSED

dkjone avatar dkjone commented on June 15, 2024
修改了bundle identifier还是提示重复,只有把原版微信卸载了才能装,还有就是提示WatchKit相关问题不知道咋弄

from dkwechathelper.

Comments (8)

zd140623 avatar zd140623 commented on June 15, 2024 2

monkeydev 默认的pack.sh里是会自动删除watchKit内容的,看一下你的脚本是不是安装位置不对,你可以在项目的build Phases 里设置脚本路径,默认是/opt/MonkeyDev/Tools/pack.sh,脚本里的52-56行就是删除watchkit内容的

	# remove Plugin an Watch
	rm -rf "${TARGET_APP_PATH}/PlugIns" || true
	rm -rf "${TARGET_APP_PATH}/Watch" || true

	/usr/libexec/PlistBuddy -c 'Delete UISupportedDevices' "${TARGET_APP_PATH}/Info.plist" 2>/dev/null

你也可以自己手动删除源IPA文件里的这部分内容,重新压缩后缀改为IPA,然后将TargetApp里的内容删除,放入删除watchkit后的IPA文件重新运行

已经删除watchkit的内容,但是这个问题还是会继续出现

我也是这样的。头疼。

在删除PlugIns和Watch文件的代码后加上如下代码即可
rm -rf "${TARGET_APP_PATH}/com.apple.WatchPlaceholder" || true

from dkwechathelper.

DKJone avatar DKJone commented on June 15, 2024

参考 #13

from dkwechathelper.

airb3 avatar airb3 commented on June 15, 2024

参考 #13

好的,感谢

from dkwechathelper.

airb3 avatar airb3 commented on June 15, 2024

@DKJone 还遗留这个问题,你看怎么解决呢?

Details

Unable to install "dkhelper"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402652971

The WatchKit app's Info.plist must have a WKCompanionAppBundleIdentifier key set to the bundle identifier of the companion app.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402652971

from dkwechathelper.

DKJone avatar DKJone commented on June 15, 2024

monkeydev 默认的pack.sh里是会自动删除watchKit内容的,看一下你的脚本是不是安装位置不对,你可以在项目的build Phases 里设置脚本路径,默认是/opt/MonkeyDev/Tools/pack.sh,脚本里的52-56行就是删除watchkit内容的

	# remove Plugin an Watch
	rm -rf "${TARGET_APP_PATH}/PlugIns" || true
	rm -rf "${TARGET_APP_PATH}/Watch" || true

	/usr/libexec/PlistBuddy -c 'Delete UISupportedDevices' "${TARGET_APP_PATH}/Info.plist" 2>/dev/null

你也可以自己手动删除源IPA文件里的这部分内容,重新压缩后缀改为IPA,然后将TargetApp里的内容删除,放入删除watchkit后的IPA文件重新运行

from dkwechathelper.

 avatar commented on June 15, 2024

monkeydev 默认的pack.sh里是会自动删除watchKit内容的,看一下你的脚本是不是安装位置不对,你可以在项目的build Phases 里设置脚本路径,默认是/opt/MonkeyDev/Tools/pack.sh,脚本里的52-56行就是删除watchkit内容的

	# remove Plugin an Watch
	rm -rf "${TARGET_APP_PATH}/PlugIns" || true
	rm -rf "${TARGET_APP_PATH}/Watch" || true

	/usr/libexec/PlistBuddy -c 'Delete UISupportedDevices' "${TARGET_APP_PATH}/Info.plist" 2>/dev/null

你也可以自己手动删除源IPA文件里的这部分内容,重新压缩后缀改为IPA,然后将TargetApp里的内容删除,放入删除watchkit后的IPA文件重新运行

已经删除watchkit的内容,但是这个问题还是会继续出现

from dkwechathelper.

yangsunyue avatar yangsunyue commented on June 15, 2024

monkeydev 默认的pack.sh里是会自动删除watchKit内容的,看一下你的脚本是不是安装位置不对,你可以在项目的build Phases 里设置脚本路径,默认是/opt/MonkeyDev/Tools/pack.sh,脚本里的52-56行就是删除watchkit内容的

	# remove Plugin an Watch
	rm -rf "${TARGET_APP_PATH}/PlugIns" || true
	rm -rf "${TARGET_APP_PATH}/Watch" || true

	/usr/libexec/PlistBuddy -c 'Delete UISupportedDevices' "${TARGET_APP_PATH}/Info.plist" 2>/dev/null

你也可以自己手动删除源IPA文件里的这部分内容,重新压缩后缀改为IPA,然后将TargetApp里的内容删除,放入删除watchkit后的IPA文件重新运行

已经删除watchkit的内容,但是这个问题还是会继续出现

我也是这样的。头疼。

from dkwechathelper.

ceeyang avatar ceeyang commented on June 15, 2024

@zd140623 楼上完美解决问题。

from dkwechathelper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.