Unable to find Xcode project file while Compiling with Apportable - ios

I download Cocos2DSimpleGame from Apportable Sample app page.when i am trying to compile through CLI it says
mac6:Cocos2DSimpleGame Stalin$ apportable load
Building with TARGET_ARCH_ABI:armeabi ARM_NEON:False
Building to /Users/Stalin/.apportable/SDK/Build/android-armeabi-debug
Error: Unable to find Xcode project file. /Applications/Cocos2DSimpleGame3-master/Cocos2DSimpleGame

apportable load should be run from the same directory that include the .xcodeproj file for the iOS version of the project.

Related

Flutter Plugin Development native vendored_frameworks file not found

I'm working on the flutter-webrtc plugin for iOS. Previously, the plugin use the prebuilt cocoapods dependency. But, in the WebRTC M80 Release Notes they state they are going to be deprecating the mobile libraries.
To stay up to date with the latest iOS native WebRTC bugfixes and features, we now need to build from source.
I've built from source and I was testing it with WebRTC's AppRTCMobile example app and it is working over there. Now I am trying to import the WebRTC.framework into the flutter plugin and I'm having trouble.
There is no flutter documentation on this, but I followed guidance from this github issue. I've copied the binary built from source into the plugin ios directory and modified the flutter_webrtc.podspec to include the framework, but I'm getting the error:
Xcode's output:
↳
In file included from /Users/corey/Workspace/flutter/flutter-webrtc/ios/Classes/FlutterWebRTCPlugin.m:1:
/Users/corey/Workspace/flutter/flutter-webrtc/ios/Classes/FlutterWebRTCPlugin.h:4:9: fatal error: 'WebRTC/RTCDataChannel.h' file not found
#import <WebRTC/RTCDataChannel.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /Users/corey/Workspace/flutter/flutter-webrtc/ios/Classes/FlutterRTCVideoRenderer.m:1:
In file included from /Users/corey/Workspace/flutter/flutter-webrtc/ios/Classes/FlutterRTCVideoRenderer.h:1:
/Users/corey/Workspace/flutter/flutter-webrtc/ios/Classes/FlutterWebRTCPlugin.h:4:9: fatal error: 'WebRTC/RTCDataChannel.h' file not found
#import <WebRTC/RTCDataChannel.h>
^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning build
note: Constructing build description
I'm really new to flutter plugin development so I'm not sure if I'm doing this correctly. Any tips would be very appreciated!
After adding the binary to the plugin ios directory, I needed to manually go into my app's ios directory (the app depending on the plugin) and manually run pod install && pod update.
After that, the plugin import errors were fixed and I'm now using WebRTC built from source in the flutter-webrtc plugin :)

Mattermost app Error in mutex.h file: Config.h file not found Xcode 10.1

I am using this github code.
https://github.com/mattermost/mattermost-mobile
I am getting this error "config.h file not found" in mutex.h file. I am using MacOS High sierra 10.13.6 and Xcode 10.1. In glog-0.3.5 folder I have already done the following solution.
1- Close Xcode.
2- cd /node_modules/react-native/third-party/glog-0.3.5
3- Run ./configure
4- Run make
5- Run make install
6- Open Xcode and try building the Project.
in result of that glog folder showing config.h file in it but when I compile the project in Xcode it removed again from the glog folder. And Xcode is giving the same error that config.h file not found.
Thank you.
I removed glog folder from mattermost app and add a new glog folder in the directory by creating a new react native project and replace it with the old glog folder in mattermost code's directory. It worked for me.

Polidea/ios-class-guard - Error with installed libraries

We are using Infragistics grid in our project by installing the library (.dmg), library header files in "/Developer" path.
When obfuscate the project we got this error:
TTouchGridView.h:9:9: fatal error:
'IG/IG.h' file not found
#import <IG/IG.h>
*Xcode 7.1.1
Remove your frameworks IG and IGChart from Xcode Project.Add Manually from /Developer/Infragistics/NUCLiOS 2015 Volume 2/Framework folder or drag and drop both frameworks from same folder to xCode project.
Then try to clean and super clean , Now Compile the Source it will work

not able to upload .c file to git

Hi am facing an issue while trying to upload my ios project to git.
All files get uploaded except a file called "sqlite3.c"
And when i try to build for device its throwing up this error
clang: error: no such file or directory:
When i change build target to ios simulator it builds fine and the missing file sqlite3.c gets generated automatically.
Please let me know if you have any info about the problem of file missing in git or about error while building for device as target in xcode.
Thanks
Santosh

Phonegap 2.1.0 Cordova/CDVViewController.h file not found

I have installed Xcode 4.5 (no previous phonegap version installed). I have downloaded,extracted and created project by Phonegap tutorial : http://docs.phonegap.com/en/2.1.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS
After the terminal command : ./create myproject ~/Desktop/myproject com.test.myproject I have successfly created structure.
Than i launch xcode and wanna Play this example project. Xcode build Fails and says:
Lexical or proccessor issue 'Cordova/CDVViewController.h' file not found
I tried to add this missing header in to classes folder, repaired the import syntax, but still same problem.
Does anybody solved this problem?/HOW?
After many attempts I decided to read Readme.md and solve the problem using ./update_cordova_subproject!
Create project using:
./create ~/Desktop/project com.example.project project
Update cordova subproject reference:
./update_cordova_subproject ~/Desktop/project/project.xcodeproj
Build successfull now!

Resources