Comments (6)
Should we even be needing patrol pods and doing build steps for patrol when running the non-test version of our app?
from patrol.
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.
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.
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.
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.
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)
- Add support for root integration test (default is still 'integration_test') (fix included) HOT 3
- Gradle test execution failed with code 1 HOT 16
- "--flavor foo" value is not mapped to built in flutter "appFlavor" constant on Android HOT 1
- Unable to run test on Apple Silicon Mac - Simulator Build Fails on simulator iPhone 15 Pro Max iOS 17.5 HOT 7
- xcodebuild exited with code 70 HOT 3
- Truncated text is not identified by patrol HOT 2
- Finders won't work on iOS sign in dialog (auth0 webview login) HOT 3
- iOS webview running `getNativeViews(focused: true)` or `enterTextbyIndex` twice crashes HOT 2
- Cannot Run on iOS Simulator or Device - Deploys App but Doesn't Start Due To Library not loaded: @rpath/AppAuth.framework/AppAuth HOT 5
- Tests stopped running after updating PATROL_CLI to 3.0.0 HOT 3
- Problem with running patrol tests on a remote device from DeviceFarm (STF) HOT 10
- Running the same test twice in a run causes internal server error HOT 6
- Firebase TestLab Test Failed HOT 3
- Test run failed to complete - app:connectedDebugAndroidTest FAILED HOT 5
- Gradle test execution failed with code 1 when running Task :app:connectedDebugAndroidTest HOT 7
- NativeAutomator.disableDarkMode does not work if Settings App is not in Default View on iOS HOT 1
- [IOS] Test Crash when add package mobile_scanner in pubspec.yaml HOT 4
- [Question] How to run `patrolTest` with variants that come from `late` fields initialized during `setUp`? HOT 4
- [docs] The "Ignoring Exceptions" section in the "Tips & Tricks" page has a mistake HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from patrol.