gpt4 book ai didi

ios - 更新到 Mountain Lion 后构建失败

转载 作者:行者123 更新时间:2023-11-29 11:10:42 26 4
gpt4 key购买 nike

Traceback (most recent call last):   File "./Scripts/version.py", line 6, in <module>
from Foundation import NSMutableDictionary File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/Foundation/__init__.py", line 8, in <module>
import objc as _objc File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/__init__.py", line 30, in <module>
from objc._bridgesupport import * File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC/objc/_bridgesupport.py", line 9, in <module>
import pkg_resources File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 698, in <module>
class Environment(object): File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 701, in Environment
def __init__(self, search_path=None, platform=get_supported_platform(), python=PY_MAJOR): File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 96, in get_supported_platform
plat = get_build_platform(); m = macosVersionString.match(plat) File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 222, in get_build_platform
plat = get_platform() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/util.py", line 98, in get_platform File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 498, in get_config_vars File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/sysconfig.py", line 407, in _init_posix distutils.errors.DistutilsPlatformError: $MACOSX_DEPLOYMENT_TARGET mismatch: now "10.7" but "10.8" during configure Command /bin/sh failed with exit code 1

我正在使用 Python 脚本对 TestFlight 进行版本控制。构建时出现一些错误。我对 python 一无所知。这里有什么问题?

  • XCode 版本:4.4
  • 操作系统:Mountain Lion 10.8
  • MacBook PRO 2009 年中期

最佳答案

这似乎是消息的关键部分:

$MACOSX_DEPLOYMENT_TARGET mismatch: now "10.7" but "10.8" during configure

无论您使用的是什么工具集,都是在 Mountain Lion 下配置的,但现在在 Lion 下运行,但您声称相反。

您没有指定您使用的是什么工具集,但看起来您将不得不在新的操作系统下重新设置它。

关于ios - 更新到 Mountain Lion 后构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11717103/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com