Comments (8)
We're in the process of releasing aries framework javascript to NPM which should solve this issue.
For now you can solve this by removing the node_modules
directory and the package-lock.json
file.
If it still doesn't work, do the same as above, but first clear your NPM cache: npm cache clean --force
from aries-mobile-agent-react-native.
@TimoGlastra IIRC your most recent PR would potentially fix this as well?
from aries-mobile-agent-react-native.
@TimoGlastra thanks for the comments. I managed to get pass "npm install" by using "npm install --force" with "package-lock.json" renamed. Then I got pass "pod install" with some warnings. When I tried to run the app using "npm run ios MyIphone", I got the following error:
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening AriesBifold.xcworkspace.
When I tried to build the app in Xcode, I encountered the following error:
Target Integrity Building for iOS Simulator, but the linked and embedded framework 'Indy.framework' was built for iOS.
I fixed the error by "setting Validate Workspace to Yes in the Build Settings tab" https://stackoverflow.com/questions/63267897/building-for-ios-simulator-but-the-linked-framework-framework-was-built
Then I tried to but the app in Xcode and I encountered the following error:
`Module map file '/Users/myself/Library/Developer/Xcode/DerivedData/AriesBifold-fmzurszqledrugbrzpflcnwqpgtf/Build/Products/Debug-iphonesimulator/rn-indy-sdk/rn_indy_sdk.modulemap' not found
Failed to emit precompiled header '/Users/Jason/Library/Developer/Xcode/DerivedData/AriesBifold-fmzurszqledrugbrzpflcnwqpgtf/Build/Intermediates.noindex/PrecompiledHeaders/AriesBifold-Bridging-Header-swift_15H2KKTG5ASMF-clang_2FZPMUW16POBQ.pch' for bridging header '/Users/Jason/Projects/Aries/aries-mobile-agent-react-native/ios/AriesBifold-Bridging-Header.h'`
And I checked that the "rn-indy-sdk" directory is missing under "/Users/myself/Library/Developer/Xcode/DerivedData/AriesBifold-fmzurszqledrugbrzpflcnwqpgtf/Build/Products/Debug-iphonesimulator/".
When I tried with "npm run ios MyIphone" in terminal, I received the following error:
`error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening AriesBifold.xcworkspace. Run CLI with --verbose flag for more details.
Command line invocation:
/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -workspace AriesBifold.xcworkspace -configuration Debug -scheme AriesBifold -destination id=904d6069cd9e549c057138c96f40379f6fd227df
note: Using new build system
note: Planning build
note: Constructing build description
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'boost-for-react-native' from project 'Pods')
error: No signing certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID "8GUD26WFN3" with a private key was found. (in target 'AriesBifoldTests' from project 'AriesBifold')
warning: The iOS deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.4.99. (in target 'RNFS' from project 'Pods')
** BUILD FAILED **`
Shall I wait for the release of aries framework javascript to NPM and try again later?
Thanks and cheers,
Jason
from aries-mobile-agent-react-native.
It is now released to NPM under aries-framework
(https://www.npmjs.com/package/aries-framework). We'll make sure to update the app to use the released version.
I think the problem you're running into is related to running the mobile agent in an iOS simulator. This is not supported at the moment. See https://github.com/hyperledger/aries-mobile-agent-react-native#platform
from aries-mobile-agent-react-native.
It is now released to NPM under
aries-framework
(https://www.npmjs.com/package/aries-framework). We'll make sure to update the app to use the released version.I think the problem you're running into is related to running the mobile agent in an iOS simulator. This is not supported at the moment. See https://github.com/hyperledger/aries-mobile-agent-react-native#platform
Thanks @TimoGlastra. I managed to clean up all the errors by re "git clone" the package and npm cache clean before running the npm install and pod install as well as fixed the team ID error by replacing the error id with my developer ID. When I tried to load the app on my iphone using "npm run start" or "npm run ios MyPhone", the app is not loaded to MyPhone even I've set the target iOS to either 10.0 or 14.4.
Has it to be run on iOS 10.0?
from aries-mobile-agent-react-native.
It is now released to NPM under
aries-framework
(https://www.npmjs.com/package/aries-framework). We'll make sure to update the app to use the released version.
I think the problem you're running into is related to running the mobile agent in an iOS simulator. This is not supported at the moment. See https://github.com/hyperledger/aries-mobile-agent-react-native#platformThanks @TimoGlastra. I managed to clean up all the errors by re "git clone" the package and npm cache clean before running the npm install and pod install as well as fixed the team ID error by replacing the error id with my developer ID. When I tried to load the app on my iphone using "npm run start" or "npm run ios MyPhone", the app is not loaded to MyPhone even I've set the target iOS to either 10.0 or 14.4.
Has it to be run on iOS 10.0?
Here are the errors I encountered when trying to "Run" (the Play button) in Xcode:
<unknown>:0: error: module map file '/Users/Jason/Library/Developer/Xcode/DerivedData/AriesBifold-fmzurszqledrugbrzpflcnwqpgtf/Build/Products/Debug-iphoneos/rn-indy-sdk/rn_indy_sdk.modulemap' not found 1 error generated. <unknown>:0: error: failed to emit precompiled header '/Users/Jason/Library/Developer/Xcode/DerivedData/AriesBifold-fmzurszqledrugbrzpflcnwqpgtf/Build/Intermediates.noindex/PrecompiledHeaders/AriesBifold-Bridging-Header-swift_DB8WLRESGR3I-clang_IZF2ZUKH7SFC.pch' for bridging header '/Users/Jason/Projects/Aries/aries-mobile-agent-react-native/ios/AriesBifold-Bridging-Header.h' 3 errors generated.
I can find the "rn_indy_sdk.modulemap" in the directory "aries-mobile-agent-react-native/ios/Pods/Headers/Public/rn_indy_sdk" though.
from aries-mobile-agent-react-native.
It is now released to NPM under
aries-framework
(https://www.npmjs.com/package/aries-framework). We'll make sure to update the app to use the released version.
I think the problem you're running into is related to running the mobile agent in an iOS simulator. This is not supported at the moment. See https://github.com/hyperledger/aries-mobile-agent-react-native#platformThanks @TimoGlastra. I managed to clean up all the errors by re "git clone" the package and npm cache clean before running the npm install and pod install as well as fixed the team ID error by replacing the error id with my developer ID. When I tried to load the app on my iphone using "npm run start" or "npm run ios MyPhone", the app is not loaded to MyPhone even I've set the target iOS to either 10.0 or 14.4.
Has it to be run on iOS 10.0?Here are the errors I encountered when trying to "Run" (the Play button) in Xcode:
<unknown>:0: error: module map file '/Users/Jason/Library/Developer/Xcode/DerivedData/AriesBifold-fmzurszqledrugbrzpflcnwqpgtf/Build/Products/Debug-iphoneos/rn-indy-sdk/rn_indy_sdk.modulemap' not found 1 error generated. <unknown>:0: error: failed to emit precompiled header '/Users/Jason/Library/Developer/Xcode/DerivedData/AriesBifold-fmzurszqledrugbrzpflcnwqpgtf/Build/Intermediates.noindex/PrecompiledHeaders/AriesBifold-Bridging-Header-swift_DB8WLRESGR3I-clang_IZF2ZUKH7SFC.pch' for bridging header '/Users/Jason/Projects/Aries/aries-mobile-agent-react-native/ios/AriesBifold-Bridging-Header.h' 3 errors generated.
I can find the "rn_indy_sdk.modulemap" in the directory "aries-mobile-agent-react-native/ios/Pods/Headers/Public/rn_indy_sdk" though.
I managed to make it work by doing the following:
- Manually clean the cache in Xcode by deleting the respective directories under DerivedData
- npm cache clean and delete the aries-mobile-agent-react-native directory.
- Re git clone aries-mobile-agent-react-native
- npm install; pod install
- Open the "workspace" , not the "project", file in Xcode. (I guess I failed to pod install earlier and caused Xcode not able to open the workspace and I have been using the project file. Sorry folks.)
- Plug in the iphone.
- Run.
- And the App is installed on my iPhone.
What a beauty! (I mean the app.) Now it's time to dig into the details. Thanks @TimoGlastra and et. al. contributors!
from aries-mobile-agent-react-native.
Awesome. Good to hear you got it working 👏
from aries-mobile-agent-react-native.
Related Issues (20)
- Error running bifold on android virtual (pixel 3a) and physical (pixel 7) phone HOT 4
- Connectionless invitations are interpreted as invalid QR when the invitation is valid and action proceeded
- Does Aries Mobile Wallet allow for auto_accept parameters to work?
- Missing credentials in proof request not being grouped properly HOT 1
- Deeplink returns error when app times out (ios and android) HOT 2
- Failed to install the app HOT 1
- Possibility of bypassing the PIN lock mechanism HOT 2
- Failed to process revocation notification message HOT 1
- Proposal for Aries Bifold to join the OpenWallet Foundation HOT 4
- bug(oca): attribute_categories should not be required HOT 1
- bug(oca): category_labels should not be required
- bug(oca): Deprecation of attr_character_encoding causes typescript error HOT 1
- TypeScript best practices
- Create user friendly error if remote oca fails HOT 1
- [Camera Disclosure Modal] Camera access flow is not compliant with App Store guidelines HOT 3
- Cannot run example with instructions
- Feature: Auto Accept Proof Request
- TLS error - include certificates? HOT 1
- Use device's time format
- [Android] Typo in permission name? 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 aries-mobile-agent-react-native.