diff --git a/README.macos.md b/README.macos.md
index 004e9f9a047734705985000a481c7a8e779466a9..40160a6542859d91e91b43f799b7834ae64e7690 100644
--- a/README.macos.md
+++ b/README.macos.md
@@ -39,9 +39,8 @@ Install `GTK`. It is recommended to use the `quartz` backend for better integrat
 
 ##### Linphone library (liblinphone)
 
-        brew tap Gui13/linphone
         brew install intltool libtool wget pkg-config automake libantlr3.4c \
-                antlr3.2 gettext speex ffmpeg readline libvpx opus
+                antlr gettext speex ffmpeg readline libvpx opus
         ln -s /usr/local/bin/glibtoolize /usr/local/bin/libtoolize
         brew link --force gettext
         #readline is required from linphonec.c otherwise compilation will fail
diff --git a/tester/liblinphone_tester.c b/tester/liblinphone_tester.c
index 2ed59f314838db1198c56eeac230a6d5e2c261fe..81393651dee9c7438aff641b02e622f07478fdf7 100644
--- a/tester/liblinphone_tester.c
+++ b/tester/liblinphone_tester.c
@@ -169,7 +169,7 @@ void liblinphone_tester_uninit(void) {
 }
 
 
-#if !defined(ANDROID) && !defined(TARGET_OS_IPHONE) && !(defined(LINPHONE_WINDOWS_PHONE) || defined(LINPHONE_WINDOWS_UNIVERSAL))
+#if !defined(ANDROID) && !__ios && !(defined(LINPHONE_WINDOWS_PHONE) || defined(LINPHONE_WINDOWS_UNIVERSAL))
 
 static const char* liblinphone_helper =
 		"\t\t\t--verbose\n"