有這么一種情況:
一年前發(fā)布了一個(gè)自己的pod庫(kù)
一年后需要更新
- 當(dāng)執(zhí)行了
pod trunk push
- 報(bào)錯(cuò):
Authentication token is invalid or unverified. Either verify it with the email that was sent or register a new session.
- 解決:
- 重新注冊(cè)session
- 執(zhí)行
pod trunk register '你的郵箱地址' '你的名稱' --description='簡(jiǎn)單描述'
- 再執(zhí)行:
pod trunk push xxxxx.podspec
年齡大了, 記憶力下降, 記下來(lái)