Exponent: Failed to publish package - react-native

I'm trying to publish the app from inside Exponent, but I'm getting the message "Failed to publish package: API Response Error: Cannot convert undefined or null to object.".
Any ideas why?
(there are no other error logs and the app runs fine with the exp:// link and my computer running it, so I'm not sure what other information would be useful).

Related

Could not find a file named "pubspec.yaml" - here_sdk example error

followed these instructions on Github to run a here_sdk example and received an error. Trying to run a Here example in Flutter for the first time and not having success with these instructions or other instructions found on Here developer documentation.
Link to Here Documentation - https://developer.here.com/documentation/flutter-sdk-explore/4.3.1.0/dev_guide/topics/quick-start.html
Get Started for Flutter
Unzip the HERE SDK for Flutter plugin to the plugins folder that can be found inside the example app project. Rename the folder to 'here_sdk': hello_map/plugins/here_sdk (Done)
Set your HERE SDK credentials to
hello_map/android/app/src/main/AndroidManifest.xml (Done)
hello_map/ios/Runner/Info.plist (Done)
Start an Android emulator or an iOS simulator and execute flutter run from the app's directory - or run the app from within your IDE.(Will not run due to errror)
Link - https://github.com/heremaps/here-sdk-examples#get-started-for-flutter
Error Received:
event sent after app closed: {id: 0, progressId: null, message: Running "flutter pub get" in hello_map_app...}
Could not find a file named "pubspec.yaml" in "C:\sec\Flutter\examples\Here Examples\hello_map_app\plugins\here_sdk".
event sent after app closed: {id: 0, progressId: null, finished: true}
pub get failed (66; Could not find a file named "pubspec.yaml" in "C:\sec\Flutter\examples\Here Examples\hello_map_app\plugins\here_sdk".)
The error is correct, no yaml file was found in the here_sdk download for Flutter.

React - native developement server return response error code : 500

I'm building an application in react-native, everything was working fine .After npm install, react-native doesn't detect some of my files anymore saying it doesnt exist, doesn't seem to detect any changes either. I get
"Developpement server returned response error 500, unable to resolve module `../services/myFile` none of these files exist." on android and on IOS 'Failed to load Bundle with error: "unable to resolve module ./screens/anotherFile"
When I remove those files (from the files they are use in) the error is still the same. Any ideas ?
Like #firu said, make sure you do a react-native-link, this happens if you have deleted the ios or android folder. Most cases when you are upgrading react-native with react-native-upgrade

Switching to Xcode 8.2.1 causes BRCloudDocsErrorDomain

When I switched from Xcode 7.3.1 to Xcode 8.2.1 I get the following error when I try to save (via Cmd+s) the first time.
[ERROR] Failed getting container for URL: file:///Users/bob/Desktop/,
error: Error Domain=BRCloudDocsErrorDomain Code=12 "App library not
found: 'com.apple.Desktop'" UserInfo={NSDescription=App library not
found: 'com.apple.Desktop'}
When I tried to disable iCloud Drive from System Preferences.. I instead get the following error.
[ERROR] Failed getting container for URL: file:///Users/bob/Desktop/,
error: Error Domain=BRCloudDocsErrorDomain Code=2 "Logged out - iCloud
Drive is not configured" UserInfo={NSDescription=Logged out - iCloud
Drive is not configured}
I am creating a MacOS app and I do not need to use Cloud, but it seems that the cloud is somehow involved when saving a document. What is the problem here and what can be done about it?
I encountered the same problem and I solved it by switching on Sandbox and by selecting which folders I wanted to use in my project parameters.
Hope that this help you

OSX App doesn't start(Buid succeeded)

Problem: I am unable to launch my OSX app.
Software versions:
XCode Version 8.1 (8B62)
macOS Siera 10.12.1 (16B2657)
I've already tried:
I don't have any changes in my version control.
Also it works fine on my colleague's computer
I've already tried to clean, Also used deep clean
I've overloaded my mac twice
I've already removed derived data
But still unable to run OSX app. It just build successfully all the time and isn't going to launch my app.
I googled about it.
https://www.google.com/search?q=xcode+%22build+secceded%22&oq=xcode+%22build+secceded%22&aqs=chrome..69i57.12138j0j7&sourceid=chrome&ie=UTF-8#q=xcode+%22build+succeeded%22+%22App+doesn%27t+run%22
But haven't found something helpful.
Any suggestions? Probably I missed something... but I think it is a system bug. And I have to clean or relaunch something. But I've already tried all what I was able to guess.
Information from console:
/Users/UserName/Library/Developer/Xcode/DerivedData/AppName-awtljghmrbqhgebrvruwulpmysqx/Build/Products/Debug/App Name.app/Contents/MacOS/App Name signature not valid: -67030
proc 1042: load code signature error 4 for file "App Name"
AMFI: allowing exception handler for 'App Name' (2504) because the process is unsigned.
Got a connection, waiting for process information for launching or attaching.
error: Attach failed: "No such process".
error: attach failed.
1 +0.000000 sec [09c9/1503]: error: ::read ( 3, 0x700009325a40, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Exiting.
PS
Any way. thanks for attention.

About osx Extracting push notification package failed

I use https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/NotificationProgrammingGuideForWebsites/PushNotifications/PushNotifications.html#//apple_ref/doc/uid/TP40013225-CH3-SW22
createPushPackage.php
get pushpackage.zip
but always get an error message
[2016/11/16 11:35:04]{"logs":["Extracting push notification package failed"]}
What steps I made wrong?