dyld: Symbol not found: _OBJC_CLASS_$_NSURLSession when trying to run my app - ios6

dyld: Symbol not found: _OBJC_CLASS_$_NSURLSession
>Referenced from: /var/mobile/Applications/13CCBC3E-79B1-482F-ABC8-94D42CBA7F60/MyApp.app/MyApp
>Expected in: /System/Library/Frameworks/Foundation.framework/Foundation in /var/mobile/Applications/13CCBC3E-79B1-482F-ABC8-94D42CBA7F60/MyApp.app/MyApp
Getting this error when trying to run myapp. If I made foundation framework optional then its working fine.
When I made the framework required & then try to run the app it crashes with this error in ios6 and working fine in ios7 & 8.
Please help me with the solution as making foundation framework optional slow downs my app.

Related

Expo run:ios generating error PhaseScriptExecution

I have an expo managed app and I want to use a notification library called OneSignal which has an expo plugin. This plugin adds native code not supported by Expo Go, so I'm forced to enter bare workflow and build native iOS and Android folders.
I'm building the iOS package by running expo run:ios. And build fails due to something with PhaseScriptExecution. This is my log:
2022-06-09 15:10:39.377 xcodebuild[35947:834210] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
2022-06-09 15:10:39.377 xcodebuild[35947:834210] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode.DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution [CP-User]\ Generate\ app.config\ for\ prebuilt\ Constants.manifest /Users/celsomattos/Library/Developer/Xcode/DerivedData/teste-gcaxmzswwhjxgrfhkfyporjorevj/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/EXConstants.build/Script-46EB2E0000D7B0.sh (in target 'EXConstants' from project 'Pods')
(1 failure)
Expo version incompatible?

Getting Error while Building Electron Application

I have created an UI using ReactJS and embedded the electron into that. I can run my React UI as a Desktop App using electron.
Now, I am facing an issue creating builder using electron-packager.
Below is the error: rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes
However, I can see the created package in the "Temp" folder under "electron-package" folder still it throws the above error. Also, I have tried running executable from the Temp folder, it opens desktop app (still there are few errors but they are related to code - I am not worry about this errors).
ElectronJS - https://www.electronjs.org/
It would be great if someone help me on this.
Thanks in advance.
By degrading Electron version from latest to v10.1.6, it got resolved.

The build command requires to be run in an Angular project, but a project definition could not be found - build is incomplete

I am new working in angular project. Trying to build a angular project which is not complete because of the below message.
build-prod-linux:
[exec] The build command requires to be run in an Angular project, but a project definition could not be found.
[exec] Result: 1
I tried installing yarn, angular-cli (re-installed) yet it shows build successful but because of this message build is incomplete and not able to see the output for my changes. Could you someone help. I looked in other answers but nothing helped so far. Thank you for the help.

Error getting while building react kotlin app using IntelliJ

I've created a simple react app using create-react-kotlin-app. After successful npm start, I tried to get a build of the project using IntelliJ IDEA's Build -> Build Project, but it fails stating
Error:(16, 44) Kotlin: Can't access property 'reactLogo' marked with #JsModule annotation from non-modular project
What am I missing here ?
NOTE: I haven't done any modification in the template comes with create-react-kotlin-app. The project runs successfully, problem only exist when I try to get a build.
I got managed to fix this issue via terminal.
From the project root, run
react-scripts-kotlin build
This will automatically creates a build folder with production ready files.

dyld: Library not loaded: #rpath/libswiftMetal.dylib on iOS 11(15A5304j) with Xcode 9 beta 6

I'm trying to provide iOS 11 support to my existing project but when I launch my existing project, my app gets crash as soon as it launches with following error at Xcode console
dyld: Library not loaded: #rpath/libswiftMetal.dylib
Referenced from: /private/var/containers/Bundle/Application/46C09D9B-D37F-42D7-B0AF-76EB6E189727/myApp.app/Frameworks/SnapKit.framework/SnapKit
Reason: image not found
I know there are lots of answer around this already but nothing worked for me.
Note: I'm using iOS 11 iPad and Xcode-beta 5
Update 1: this problem occurs on my iPad iOS11(15A5304j), on iPhone 6plus iOS 11(15A5327g) works fine.

Resources