linphone compile issue (just downloaded from git) - ios

I followed the instruction from here http://www.linphone.org/eng/download/git.html.
I open terminal and entered git clone git://git.linphone.org/linphone-iphone.git --recursive
(I included --recursive)
But after that I can't compile, because some files are missing:

You can try and repeat the command which is done the "--recursive" part of a git clone (that actually calls git submodule):
cd /path/to/linphone # your main parent repo
git submodule update --init --recursive
And see if there are any error message, or if the missing files show up.

Did you follow the instructions in the README file to compile the sdk first? Linphone for iPhone depends on liblinphone sdk.
The README is quite detailed but is focused on Macports, if you want to use Homebrew have a look here:
http://www.successmonkey.co.nz/blog/building-linphone-for-ios
And for Macports a blog with some more details and some discussion:
http://shallwelearn.com/blog/build-linphone-for-iphone-and-ipad/

Related

How compile this fork of WebRTC for iOS

I need to compile this fork of WebRTC for iOS
https://github.com/pixiv/webrtc
I have followed the steps indicated here: https://github.com/pixiv/webrtc/releases.
but when i try to build the framework using python build_ios_libs.py --bitcode
it shows and error find_depot_tools file not found
I have cloned the repo to my computer with this command line;
gh repo clone pixiv/webrtc
please help am i doing right or missing something??
Thanks
You need google depot tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
and set the path to the tools
export PATH=$PATH:pwd/depot_tools/

How to add Xcode project with cocopods to github

I followed this link to add project to GitHub. I could successfully create the repository using these instructions.
But unable to add an Xcode project with pods(.xcworkspace) to GitHub.
I am aware that we shoud add only podfile to reduce the load. But Not sure how to achive this.
After few hours of trial error found the below solution to be working. If anyone have better soultion please suggest.
Open your git hub web, create a new repository with a readme and .gitignore file.
Clone the repo to your machine.Open terminal.
cd your_directory
git clone your_repo_url
copy and paste your existing project folder to this directory("your directory")- make sure you have deleted the local git from this folder Refer this link
open gitignore file and uncommnet the below line.(# Add this line if you want to avoid checking in source code from the Xcode workspace)
*.xcworkspace
In terminal run command git status
This will list out new changes you have done in the folder.
run command git add --all
run commit -m "commit message"
git push
Make sure you have removed large files from your project, files like video audio etc.
While you check out this repository to another folder, make sure you run pod install and create xcworkspace.

AWS iOS SDK crashing with carthage update for version 2.5.8

I have been working on a project that requires access to the github repository aws/aws-sdk-ios for some time now and make use of many of its features.
Recently, when trying to build the project in Swift, I have been getting the following build failure:
Use of unresolved identifier AWSBasicCredentialsProvider
The code has remain unchanged from when it was working previously, save a few completely unrelated changes for the Mapbox features I also use for the project. Deciding it was most probably an issue with my version of the aws sdk for ios, I typed the following commands in the terminal:
rm -rf ~/Library/Caches/org.*.CarthageKit
rm -rf Carthage
carthage update --platform ios
The resulting output is:
A shell task (/usr/bin/env git checkout --quiet --force 2.5.8) failed with exit code 1:
error: pathspec '2.5.8' did not match any file(s) known to git
Does anyone know how to resolve this issue? All help is greatly appreciated!
For reference, my Cartfile is as follows:
github "SwiftyBeaver/SwiftyBeaver"
github "Mapbox/mapbox-navigation-ios"
github "Mapbox/MapboxDirections.swift"
github "Mapbox/MapboxGeocoder.swift"
github "aws/aws-sdk-ios"
The Cartfile.resolved file has the content as follows:
github "52inc/Pulley" "1.4"
github "Mapbox/MapboxDirections.swift" "v0.9.1"
github "Mapbox/MapboxGeocoder.swift" "v0.6.2"
github "Mapbox/mapbox-navigation-ios" "v0.4.0"
github "Project-OSRM/osrm-text-instructions.swift" "v0.1.2"
github "SwiftyBeaver/SwiftyBeaver" "1.2.2"
github "aws/aws-sdk-ios" "2.4.3"
github "frederoni/aws-sdk-ios" "1a8432b03c22326fb7ed86fac978212106e2d465"
github "raphaelmor/Polyline" "v4.1.1"
github "rs/SDWebImage" "4.0.0"
One of your dependencies
"Mapbox/mapbox-navigation-ios"
depends on a different version of aws-sdk-ios
Look here: https://github.com/mapbox/mapbox-navigation-ios/blob/master/Cartfile
Clearly, this is a namespace issue which causes carthage update failures.

How can I link pd-for-ios with my objective-c project?

I've been following this tutorial for libPd for iOS and halfway through i get some errors saying:
No such file or directory: '~/pd-for-ios/libpd/pure-data/src/d_dac.c'
No such file or directory: '~/pd-for-ios/libpd/pure-data/src/d_array.c'
No such file or directory: '~/pd-for-ios/libpd/pure-data/src/d_ctl.c'
No such file or directory: '~/pd-for-ios/libpd/pure-data/src/d_arithmetic.c'
Those files, on inspection, are non existent, but Xcode keeps searching for them and I don't know if i should create them or get them somewhere else.
Problem solved, at first I used instructions in this page:
git clone https://github.com/libpd/libpd.git
cd libpd
git submodule init
git submodule update
Which for some reason didn't work, now, after trying this:
git clone --recursive git://github.com/libpd/pd-for-ios.git
everything's alright.

SHA1 error when using brew install

More specifically, I was using homebrew to install MySQL, and I got this error:
Error: SHA1 mismatch
Expected: f218ed64ce6e7a5d3670acdd6a18e5ed95421d1f
Got: 3a57f6f44186e0dba34ef8b8fb4a9047e9e5d8a3
Archive: /Users/rdp/Library/Caches/Homebrew/cmake-2.8.7.bottle.tar.gz
(To retry an incomplete download, remove the file above.)
Everything worked after I ran brew update.
Incase the brew update fails, try the following
cd `brew --prefix`
git remote add origin https://github.com/Homebrew/homebrew
git fetch origin
git reset --hard origin/master
I was having the same problem as Steve S regarding epstool dependency on Octave and found this link:
https://github.com/Homebrew/homebrew-science/issues/1110
Check out iml's post about 10 down from the top (his second post). As he explained, I downloaded it from the fedoraproject.org site and then moved it into the /Library/Caches/Homebrew/ directory.
Cheers,
-Maashu
In my case the file downloaded from https://downloads.sourceforge.net/ctags/ctags-5.8.tar.gz is actually a html file. I downloaded the real file and place it at /Library/Caches/Homebrew/ctags-5.8.tar.gz. Then I run brew install ctags, everything works.

Resources