gpt4 book ai didi

react-native - 世博会构建 :ios fails with "Error while gathering & validating credentials"

转载 作者:行者123 更新时间:2023-12-04 09:45:20 26 4
gpt4 key购买 nike

我正在尝试运行 exp build:ios它返回以下错误:

Running: bash.exe -c PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /mnt/c/Users/MyName/AppData/Roaming/npm/node_m
odules/exp/node_modules/@expo/traveling-fastlane-linux/traveling-fastlane-1.4.7-linux-x86_64/validate_apple_credentials "USERNAME PASSWORD"

Error while gathering & validating credentials
04:55:52 [exp] Error: Reason:Unknown reason, raw:"{\"authType\"=>\"sa\"}\naa=11CECD94B0A448A2CA74B798F957D91C; Domain=idmsa.apple.com; Path=/; Secure
; HttpOnly, dslang=US-EN; Domain=apple.com; Path=/; Secure; HttpOnly, site=USA; Domain=apple.com; Path=/; Secure; HttpOnly, acn01=ecHGTzyh6KpEMYGK3/n
dp5OBSctZ7OhjWIMEzX9jeHHDdeMxlEYAEHHyjSOfEg==; Max-Age=31536000; Expires=Wed, 22-May-2019 01:55:52 GMT; Domain=apple.com; Path=/; Secure; HttpOnly"
04:55:52 [exp] Reason:Unknown reason, raw:"{\"authType\"=>\"sa\"}\naa=11CECD94B0A448A2CA74B798F957D91C; Domain=idmsa.apple.com; Path=/; Secure; HttpO
nly, dslang=US-EN; Domain=apple.com; Path=/; Secure; HttpOnly, site=USA; Domain=apple.com; Path=/; Secure; HttpOnly, acn01=ecHGTzyh6KpEMYGK3/ndp5OBSc
tZ7OhjWIMEzX9jeHHDdeMxlEYAEHHyjSOfEg==; Max-Age=31536000; Expires=Wed, 22-May-2019 01:55:52 GMT; Domain=apple.com; Path=/; Secure; HttpOnly"
04:55:52

我正在尝试在以下平台上构建:

操作系统:Windows 10(使用 WSL Ubuntu 18.04)
世博会:27.0.2

并在 package.json 上有以下内容:
{
"name": "APP_NAME",
"version": "0.1.0",
"private": true,
"devDependencies": {
"jest-expo": "^27.0.0",
"react-native-scripts": "1.11.1",
"react-test-renderer": "16.2.0"
},
"main": "./node_modules/react-native-scripts/build/bin/crna-entry.js",
"scripts": {
"start": "react-native-scripts start",
"eject": "react-native-scripts eject",
"android": "react-native-scripts android",
"ios": "react-native-scripts ios",
"test": "node node_modules/jest/bin/jest.js"
},
"jest": {
"preset": "jest-expo"
},
"dependencies": {
"@expo/vector-icons": "^6.3.1",
"exp": "^54.0.0",
"expo": "^27.0.2",
"native-base": "^2.4.4",
"npm": "^6.0.1",
"react": "16.3.1",
"react-native": "https://github.com/expo/react-native/archive/sdk-27.0.2.tar.gz",
"react-native-animatable": "^1.2.4",
"react-native-autocomplete-input": "^3.5.0",
"react-native-collapsible": "^0.11.2",
"react-native-modal": "^5.4.0",
"react-native-scrollable-tab-view": "^0.8.0",
"react-native-simple-twitter": "^1.2.1",
"react-native-slider": "^0.11.0",
"react-native-snap-carousel": "^3.7.0",
"react-native-svg-uri": "^1.2.3",
"react-native-swiper": "^1.5.13",
"react-navigation": "^1.5.12",
"react-redux": "^5.0.7",
"redux": "^3.7.2"
}
}

还有 app.json :
{
"expo": {
"name": "APP_NAME",
"description": "APP_NAME description",
"slug": "Appname",
"privacy": "public",
"sdkVersion": "27.0.0",
"version": "1.0.0",
"orientation": "portrait",
"androidStatusBar": {
"backgroundColor": "#000000"
},
"packagerOpts": {
"assetExts": ["ttf", "mp4"]
},
"ios": {
"bundleIdentifier": "com.mycompany.myapp",
"supportsTablet": false
},
"android": {
"package": "com.mycompany.myapp",
"versionCode": 4
}
}
}

P.S:正在运行 exp build:android工作正常。
此错误的原因是什么,我该如何解决?

最佳答案

只需连接到 https://appleid.apple.com/http://itunesconnect.apple.com并接受隐私更新。

apple id privacy

关于react-native - 世博会构建 :ios fails with "Error while gathering & validating credentials",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50458774/

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