Can’t compile modules anymore after sdk updates to 7.0.2 - appcelerator

The latest updates of appcelerator to the newest SDK, cli, titanium studio, has now results in the failed built of every android modules I have created so far.
Below is the error -
Buildfile: /Users/Documents/sdk7module/android/build.xml
BUILD FAILED
/Users/Documents/sdk7module/android/build.xml:55: Cannot find /Users/Library/Application Support/Titanium/mobilesdk/osx/7.0.2.GA/module/android/build.xml imported from /Users/Documents/sdk7module/android/build.xml
Total time: 448 milliseconds
Any help is appreciated.

After installing ccache, I was able to compile the module without any error.

Related

Nativescript - Error: more than one library with package name (Android)

I'm getting the following error when I build under Android
Error: more than one library with package name 'com.google.android.gms.license'
How can I fix this?
I understand this has to do with some incompatibility with Android sdk library - but I didn't update anything explicitly - are libs being auto updated in the background?
If your tns-android version is 4+ then you can try with tns platform add android#3.4
It worked for me.

Ionic1 with CocoaPods does not let me build my app in Xcode9

I work on an older App of mine which is Ionic-v1. I install the OneSignal plugin which is working now only with CocoaPods. At first all went fine, Android works flawless but I am not able anymore to build my IOS app because of CocoaPods. I can do what I want I keep getting the following error:
ld: 72 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I lost the entire day trying to figure this out, I tried uncountable times any combination of “pod install, pod clean, pod disintegrate” etc. etc. but without any success.
I also found a post inside the ionic forum from #blakgeek and install his plugin “cordova-plugin-cocoapod-support” but keep getting the same errors. But with or without this plugin I keep getting the same error.
I would be happy if anybody can help me here because at this point I am pretty lost.
Thank you in advance
Xcode 9
Ionic 3.18 (But app is Ionic v1)cli packages: (/usr/local/lib/node_modules)
#ionic/cli-utils : 1.18.0
ionic (Ionic CLI) : 3.18.0
global packages:
cordova (Cordova CLI) : 7.1.0
Gulp CLI : CLI version 3.9.1 Local version 3.9.1
local packages:
Cordova Platforms : android 6.3.0 ios 4.5.3
Ionic Framework : ionic1 1.2.4
System:
Android SDK Tools : 26.1.1
ios-deploy : 1.9.2
ios-sim : 5.0.6
Node : v8.9.1
npm : 2.15.12
OS : macOS Sierra
Xcode : Xcode 9.0.1 Build version 9A1004
Environment Variables:
ANDROID_HOME : /Volumes/Mac External HD/Android/sdk
Misc:
backend : pro
I just ended up deleting once again my entire ios platform for the xxx time and somehow solved it with the following steps.
a. deleted my complete ios platform
b. deleted the onesignal cordova plugin
c. reinstalled the onesignal plugin
d. recreated my ios platform BUT forced version ios4.4.0 with the following command "ionic cordova platform add ios#4.4.0"
e. changed into my /platform/ios directory and made one "pod install"
f. opened xcode and build and run without any further issue.
Short explanation. I ended up with tone of duplicate symbol erros because I tried just to many things and manually added to many things. (cant recall what I did all) how ever I never paid attention in the number of duplicate symbols. I started out with just 2 which seems to be a known issue (thankx to this issue report https://github.com/ionic-team/ionic/issues/12849#issuecomment-328472880) but with my tests and trials I ended up with much more and got completely of track.
After clean install with ios#4.4.0 all worked fine for me.
thank all for your attention...

Build failed. See the build log for details after it was updated newest version xamarin

Build failed. No compatible framework found for assembly '/Applications/Xamarin Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/4.0/MonoDevelop.Projects.Formats.MSBuild.exe' (required framework: .NETFramework,Version=v4.0)
Build: 1 error, 0 warnings
Just restart Xamarin.Studio to reload the license information. See more information over here.
From what I'm gathering, this has something to do with Xamarin's installer not properly installing Mono. I uninstalled Xamarin Studio completely and reinstalled it - that seems to have fixed it.

Xamarin build fails with an unknown error

I installed Xamarin and was attempting to compile and run an empty app, but the compilation fails with an unknown error:
How can I fix this error?
Install the Xamarin Android Player and select it from the devices list instead of Nexus 10 Android 3.0
Download link, Installation guide

Corlib not in sync when building Unity games with mdtool in OSX

Unity3D, a popular game engine, packages a version of mono (and monodevelop) with its install. Recently I installed Xamarin Studio, keen to play with it. Later I followed some online guides for building unity's SLN files via the command line from the sln's directory:
/Applications/Unity/MonoDevelop.app/Contents/MacOS/mdtool build -t:Build
I got this error:
Rewriting config files...
Corlib not in sync with this runtime: expected corlib version 636, found 96.
Loaded from: /Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.2/lib/mono/2.0/mscorlib.dll
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
I figured that Xamarin Studio had brought a new mono runtime with it, and that was version 636. The mdtool I was running expected verison 96, because Unity ships with an older version of mono (.net 3.5 I think?).
So I uninstalled Xamarin Studio, and re-installed Unity to hopefully overwrite the mono runtime with the old version. Still get the error.
I notice above that the mscorlib.dll is not pulled from Frameworks/Mono.framework/Versions/Current, but 2.10.2. Why is that? How can I make this build work? Any more information I can give you?

Resources