flutter packages pub publish
でのエラー。
以下のエラー
Then click "Allow access". Waiting for your authorization... Authorization received, processing... Successfully authorized. Uploading... Failed to scan tar archive. (Entry "example/ios/Runner.xcodeproj/project.pbxproj" has no default mode bits (644).) pub finished with exit code 1
example/ios
に行こう。
$ ls -l total 16 drwxr-xr-x 8 shinriyo staff 256 Aug 9 07:50 Flutter -rw-r--r--@ 1 shinriyo staff 1347 Aug 9 08:07 Podfile -rw-r--r--@ 1 shinriyo staff 771 Aug 9 08:25 Podfile.lock drwxr-xr-x@ 7 shinriyo staff 224 Aug 9 08:25 Pods drwxr-xr-x 9 shinriyo staff 288 Aug 9 07:45 Runner drwxr-xr-x@ 5 shinriyo staff 160 Aug 9 08:25 Runner.xcodeproj drwxr-xr-x@ 5 shinriyo staff 160 Aug 9 07:52 Runner.xcworkspace drwxr-xr-x 3 shinriyo staff 96 Aug 9 07:40 RunnerTests
以下実行
chmod 777 Runner.xcodeproj
$ ls -l total 16 drwxr-xr-x 8 shinriyo staff 256 Aug 9 07:50 Flutter -rw-r--r--@ 1 shinriyo staff 1347 Aug 9 08:07 Podfile -rw-r--r--@ 1 shinriyo staff 771 Aug 9 08:25 Podfile.lock drwxr-xr-x@ 7 shinriyo staff 224 Aug 9 08:25 Pods drwxr-xr-x 9 shinriyo staff 288 Aug 9 07:45 Runner drw-r--r--@ 5 shinriyo staff 160 Aug 9 08:25 Runner.xcodeproj drwxr-xr-x@ 5 shinriyo staff 160 Aug 9 07:52 Runner.xcworkspace drwxr-xr-x 3 shinriyo staff 96 Aug 9 07:40 RunnerTests
しかし重要なのはさらに中の project.pbxproj
だった。
sudo chmod 644 Runner.xcodeproj/project.pbxproj