Why to fix “Frameworks/Flutter.framework: Permission denied” while building iOS native app with flutter module?

前端 未结 3 707
执笔经年
执笔经年 2021-01-21 04:44

I created an iOS single view app (hostapp) and converted it to pod workspace. Runs well. Then created flutter module (clientapp), provided iOS team. Runs well, independently. Tu

3条回答
  •  别那么骄傲
    2021-01-21 05:17

    Locate xcode_backend.sh file in the Flutter folder at this path ‎⁨flutter/packages⁩/flutter_tools/⁨bin⁩ and at line 140 change it to

        RunCommand find "${derived_dir}/engine/Flutter.framework" -type f -iname '.h' -exec chmod a-w "{}" \;
    

    This will do it !!

提交回复
热议问题