Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS / xcode10.1 #5

Open
rvleyden opened this issue Feb 7, 2019 · 8 comments
Open

iOS / xcode10.1 #5

rvleyden opened this issue Feb 7, 2019 · 8 comments

Comments

@rvleyden
Copy link

rvleyden commented Feb 7, 2019

Hello,

where can I set the following in Xcode 10.1 ? : "After installation you need to add manually in Build settings the following configurations a. Apple LLVM 8.1 Preprocessing->Preprocessor Macros->(both debug/release) PJ_AUTOCONF=1 b. Search paths->Header Search Paths -> (both debug/release in cordova plugin) i. fulllocation/pjsua/pjmedia ii. fulllocation/pjsua/pjnath iii. fulllocation/pjsua/pjlib-util iv. fulllocation/pjsua/pjlib v. fulllocation/pjsua/pjsip"

@symeonmattes
Copy link
Owner

Hi,

It's a tab called build settings. Check the image:
https://cdn-images-1.medium.com/max/1200/1*JH3lJ0krxRiZepKpnzwS0g.png

@rvleyden
Copy link
Author

rvleyden commented Feb 9, 2019

Thanks, but I still do not onderstaand what Value's to put in and on which parameters. I'm sorry but I am not so well know with xcode and project parameters.

@symeonmattes
Copy link
Owner

Check the images:
https://raw.githubusercontent.com/BranchMetrics/react-native-branch-deep-linking/master/docs/assets/8-add-preprocessor-macro.png
https://blogs.wcode.org/wp-content/uploads/2014/11/Screen-Shot-2014-11-19-at-09.30.10-2.png

In Xcode the build settings tab is supposed to be setting for the compiler. Normally you will find sections like Apple LLVM 8.1 etc, Search paths etc. There you should add (with the + sign) the parameters I mention.

@rvleyden
Copy link
Author

rvleyden commented Mar 6, 2019

Is the setting correct as marked in my screenshot ?
image

@symeonmattes
Copy link
Owner

It seems to be ok, but the value is not 1 b, it's 1. In the manual it's like that:
After installation you need to add manually in Build settings the following configurations
a. Apple LLVM 8.1 Preprocessing->Preprocessor Macros->(both debug/release) PJ_AUTOCONF=1
b. Search paths->Header Search Paths -> (both debug/release in cordova plugin)
i. fulllocation/pjsua/pjmedia
ii. fulllocation/pjsua/pjnath
iii. fulllocation/pjsua/pjlib-util
iv. fulllocation/pjsua/pjlib v. fulllocation/pjsua/pjsip

@rvleyden
Copy link
Author

Is it possible to send me a sample project (ionic) where the settings are working for Ios ?

Thanks

@rvleyden
Copy link
Author

for the following :

i. fulllocation/pjsua/pjmedia
ii. fulllocation/pjsua/pjnath
iii. fulllocation/pjsua/pjlib-util
iv. fulllocation/pjsua/pjlib v. fulllocation/pjsua/pjsip

Do you mean with fulllocation the path to the pjsua directory in de

@symeonmattes
Copy link
Owner

symeonmattes commented Mar 27, 2019

yes...it's the full path, e.g. /Users/blabla/etc. I hadn't found another way to deal with this cumbersome.

Unfortunately I don't have a working project as this plugin had been used for proprietary use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants