Flutter: Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh: Permission denied

4,010

Solution 1

Actually, this is caused by deintegrating. so deintegrating all pods then reinstalling them will resolve this issue

I fixed the permission problem by running the following command.

Here is the step I solve:

  1. Open Terminal and Go to /ios folder inside your Project.
  2. Executes pod deintegrate command
  3. Then after pod install
  4. Run your project flutter run

Solution 2

  1. First OF all Remove Pod Lock File 2- copy podfile
    3- Run these command

    rm -rf Pods/ Podfile.lock

    pod install

Share:
4,010
Paresh Mangukiya
Author by

Paresh Mangukiya

I am a Mobile App Developer and Team Leader at BlueBit Technologies, in this My core competency lies in the complete end-to-end management and completing the entire project (iOS, Android and Backend side). I am seeking opportunities to build Mobile Apps from the ground up for you or your business. Please feel free to contact me here ⬇ Skype: pkmangukiya_1 Mobile or WhatsApp: +91 9723680658 Email: [email protected] I have spent 4+ years in the IT industry, I have developed a wide range of (iOS and Android) Applications using iOS (Swift, Objective-C), Flutter(Dart) and Android (Kotlin, Java). I work with B2B clients - Software companies and as well as B2C - Small and Medium Enterprises (SME) in many vertical industries and I passionate about good service & deliver a high-quality product. I have experience in mobile Application Development, App principles, processes, theories and concepts. I am involved in the full life cycle of designing, developing, testing, Analysis, and maintaining applications. And I have also enough knowledge and experience of how to use and where to use Encryption, Exception Handling, Token-based Authentication and other security features in applications. My core competency lies in complete end-to-end management of new Mobile Applications and I am seeking opportunities to build Mobile Apps from the ground up for you or your business. My experience has been awesome and good so far, I have learned a lot of new things and worked during this time. My years of experience have prepared me well for this position. Skills: Programming Languages: iOS: Swift and Objective C Flutter: Dart Android: Java and Kotlin C/C++ Professional Experience: Socket Programming DB & API Design Google API, Facebook API, Google Maps and Direction, Location Services Integrating ads ( Google Ads, Admob, Facebook Ads), Media Player Functionalities API security with JWT JSON, XML In-app purchase User Authentication Chat and Messaging Hosting (App Store, Play Store) Payment Gateways Social Media Integration SQLite Database, Firebase Database, MySQL Database Advanced Analytics Mobile Application Design Document Conversion Projects Variations: Chatting and Messaging: Text and Voice messaging, video communication, photo & video sharing Loan Management System Online Music Streaming QR & Barcode Scanner Parking Facility Social Media: Professional networks, social networks and Data Sharing Lifestyle: Religion, travel, blogs, fashion, health, fitness Music + Audio Video Mixer with dynamic features Football Training Club and Academy Photo and Video Editor App Organization Management Society management Quiz - Play & Win I really enjoy programming a lot!

Updated on December 26, 2022

Comments

  • Paresh Mangukiya
    Paresh Mangukiya over 1 year

    I have got an existing project from a client and I tried to run this on my Mac but when I'm trying to run the project I facing the following error

    Further details on the error:

    Xcode build done.                                           20.5s
    Failed to build iOS app
    Error output from Xcode build:
    ↳
        2020-12-28 09:53:09.348 xcodebuild[5722:80049]  DTDeviceKit: deviceType from 49f62dac6f1da634e5d71981db4d591dc9126e4b was NULL
        2020-12-28 09:53:09.449 xcodebuild[5722:80049]  DTDeviceKit: deviceType from 49f62dac6f1da634e5d71981db4d591dc9126e4b was NULL
        ** BUILD FAILED **
    
    
    Xcode's output:
    ↳
        /Users/pkimac/Library/Developer/Xcode/DerivedData/Runner-dyvnmbcstcyeklavxcvptjfbuuka/Build/Intermediates.noindex/Runner.build/Debug-iphoneos/Runner.build/Script-9FEDFCA313C1B9E0CFFDF6D8.sh: line 2: /Users/pkimac/Desktop/rto_exam_gujarati 2/ios/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh: Permission denied
        Command PhaseScriptExecution failed with a nonzero exit code
        note: Using new build system
        note: Planning build
        note: Constructing build description
    
    Could not build the precompiled application for the device.
    
    Error launching application on Paresh’s iPhone.
    

    The following is flutter doctor output:

    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel stable, 1.22.2, on Mac OS X 10.15.3 19D76, locale en-GB)
     
    [✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    [!] Android Studio (version 4.1)
        ✗ Flutter plugin not installed; this adds Flutter specific functionality.
        ✗ Dart plugin not installed; this adds Dart specific functionality.
    [✓] Connected device (2 available)
    
    ! Doctor found issues in 1 category.
    

    How can I fix this?