GithubHelp home page GithubHelp logo

Comments (6)

bartekpacia avatar bartekpacia commented on July 29, 2024 1

Should we even be needing patrol pods and doing build steps for patrol when running the non-test version of our app?

#681

from patrol.

BenjiFarquhar avatar BenjiFarquhar commented on July 29, 2024

Should we even be needing patrol pods and doing build steps for patrol when running the non-test version of our app?

I seem to have fixed it anyway.

I think i was missing the CocoaAsyncSocket (7.6.5) pod completely, which is a necessary pod for patrol.

Something I did added this to the podspec.lock:

PODS:
  - CocoaAsyncSocket (7.6.5)

I think it was pod deintegrate and then deleted podspec.lock and ran pod install --repo-update.

I also needed this in target.build_configurations.each do |config| of the podfile:

      config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'

I already had it in installer.pods_project.build_configurations.each do |config|, but that wasn't enough.

Now my whole pod_install is:

post_install do |installer|
  installer.pods_project.build_configurations.each do |config|
    config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
  end

  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)

    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0'
      config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = 'arm64'

      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',
        'PERMISSION_CAMERA=1',
        'PERMISSION_PHOTOS=1',
        'PERMISSION_LOCATION=1',
      ]
    end
  end
end

Unrelated but I fixed my having to add arch -x86_64 to pod install by uninstalling cocoapods and then reinstalling them with homebrew (i think it got the latest version of cocoapods which fixed it).

from patrol.

zoskar avatar zoskar commented on July 29, 2024

Hi @BenjiFarquhar
I'm glad that you managed to fix your problem. If you want us to review this scenario we would need you to provide reproducible example. We cannot proceed without it.

from patrol.

github-actions avatar github-actions commented on July 29, 2024

Without additional information, we can't resolve this issue. We're therefore reluctantly going to close it.
Feel free to open a new issue with all the required information provided, including a [minimal, reproducible sample]. Make sure to diligently fill out the issue template.
Thanks for your contribution.
[minimal, reproducible sample]: https://stackoverflow.com/help/minimal-reproducible-example

from patrol.

github-actions avatar github-actions commented on July 29, 2024

Without additional information, we can't resolve this issue. We're therefore reluctantly going to close it.
Feel free to open a new issue with all the required information provided, including a [minimal, reproducible sample]. Make sure to diligently fill out the issue template.
Thanks for your contribution.
[minimal, reproducible sample]: https://stackoverflow.com/help/minimal-reproducible-example

from patrol.

github-actions avatar github-actions commented on July 29, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.

from patrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.