Giter VIP home page Giter VIP logo

iosports's People

Contributors

lhunath avatar syzdek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iosports's Issues

CocoaPods Dependency Management

I'm working on adding your ports to the CocoPods repository to enable dependency management of your frameworks and wanted to check in with you to make sure I'm doing this right.

http://cocoapods.org/

I'm going to split up iOSPorts into 5 separate CocoaPods as you have listed in your readme and then include the inner dependencies as needed. Something I noticed is that each dependency has a different license which can be accounted for in each CocoaPod.

Also, I am going to add a CocoaPod for iOSPorts project that includes all 5 of the inner dependencies to allow devs just just include everything. This will have your license on it.

Does this sound correct? Did you want to help out with the process?

Thanks

makefile failed with error code 2

After adding openLDAP to my project, adding target dependencies, linking libraries, and setting the search path for the include dir, I attempt to archive the openLDAP project and get the following:

Makefile-cyrus-sasl

/usr/bin/curl -O http://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-2.1.23.tar.gz -o cyrus-sasl-2.1.23.tar.gz -s \
        || { rm -f cyrus-sasl-2.1.23.tar.gz; exit 1; };
/sbin/md5 cyrus-sasl-2.1.23.tar.gz > cyrus-sasl-2.1.23.tar.gz.md5
/usr/bin/diff cyrus-sasl-2.1.23.tar.gz.md5 build-aux/cyrus-sasl-2.1.23.tar.gz.md5 > /dev/null \
        || { /bin/rm -f cyrus-sasl-2.1.23.tar.gz.md5 cyrus-sasl-2.1.23.tar.gz; exit 1; };
make: *** [cyrus-sasl-2.1.23.tar.gz.md5] Error 1
Command /usr/bin/make failed with exit code 2

I'm using XCode 4.3.2 and building an iOS 5.1 iPad app in Lion.

Thanks

Which header path to include?

Hi,
the detailed how-to does not say which header path must be included in the user project so that it finds the iOS Ports. Looking at the examples, it seems it is something like

../../../../include

So this depends on where the iOS Ports are. Wouldn't it be possible to make iOS Ports copy the headers to XCode's build directory :

"$(BUILT_PRODUCTS_DIR)/../../include"

In this way, the user would just have to includes this dir no matter where the iOS Ports are on the file system.

cheers
Jan

LDAPError: Invalid Credentials (errCode:49)

I'm getting this error "Invalid Credentials (errCode:49)", when i try to bind with my LDAPServer (which is up and running on my lap, I've verified it using LDPASearch query from terminal).
How can i get this resolved?, what are the ways to debug this issue?

I've double checked that the credentials i pass are right and i'm accessing the directory path that are available.

Linking issues with cyrus-sasl, reason for staying on 2.1.23?

Using iOSPorts with MailCore. I'm linking with libsas2.a and there are several issues with the mac build. Duplicate symbols related to plugins, struct hostent doubly declared, sys/utsname not included. I've patched these at https://github.com/aceofspades/iOSPorts/tree/cyrus_patches. With these patches, I am able to get a clean link of MailCore, libsasl2, libcrypt, and libsasl2.

Can anyone comment on these issues?

Since this version is a couple of years behind (2.1.25 now) I am curious how others are not having this problem, and whether there's been a reason not to update. Doing so did not appear trivial.

OpenLDAP - Windows Server Active Directory compatibility

I have the need of creating an iOS app that allows the users to change their AD passwords and to set a reminder for password expiration.
Can I use the OpenLDAP library included in iOSPorts? Is there any compatibility issue?

Thanks

Xcode 4 project updates.

Xcode 4 shows a warning that the project configuration needs to be updated. Following patch applies the necessary changes to the openssl project:

diff --git a/ports/security/openssl/openssl.xcodeproj/project.pbxproj b/ports/security/openssl/openssl.xcodeproj/project.pbxproj
index 3d687ff..f29a40b 100644
--- a/ports/security/openssl/openssl.xcodeproj/project.pbxproj
+++ b/ports/security/openssl/openssl.xcodeproj/project.pbxproj
@@ -3,7 +3,7 @@
    archiveVersion = 1;
    classes = {
    };
-   objectVersion = 45;
+   objectVersion = 46;
    objects = {

 /* Begin PBXAggregateTarget section */
@@ -6381,8 +6381,11 @@
 /* Begin PBXProject section */
        0867D690FE84028FC02AAC07 /* Project object */ = {
            isa = PBXProject;
+           attributes = {
+               LastUpgradeCheck = 0420;
+           };
            buildConfigurationList = 1DEB922208733DC00010E9CD /* Build configuration list for PBXProject "openssl" */;
-           compatibilityVersion = "Xcode 3.1";
+           compatibilityVersion = "Xcode 3.2";
            developmentRegion = English;
            hasScannedForEncodings = 1;
            knownRegions = (
@@ -7084,7 +7087,6 @@
                COPY_PHASE_STRIP = NO;
                DSTROOT = /tmp/openssl.dst;
                GCC_DYNAMIC_NO_PIC = NO;
-               GCC_ENABLE_FIX_AND_CONTINUE = YES;
                GCC_MODEL_TUNING = G5;
                GCC_OPTIMIZATION_LEVEL = 0;
                GCC_PRECOMPILE_PREFIX_HEADER = NO;
@@ -7113,6 +7115,7 @@
                GCC_C_LANGUAGE_STANDARD = c99;
                GCC_OPTIMIZATION_LEVEL = 0;
                GCC_VERSION = com.apple.compilers.llvmgcc42;
+               GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
                GCC_WARN_ABOUT_RETURN_TYPE = YES;
                GCC_WARN_UNUSED_VARIABLE = YES;
                HEADER_SEARCH_PATHS = (
@@ -7131,7 +7134,6 @@
                    "-DOPENSSL_NO_STORE",
                );
                OTHER_LDFLAGS = "-ObjC";
-               PREBINDING = NO;
                SDKROOT = iphoneos;
            };
            name = Debug;
@@ -7142,6 +7144,7 @@
                ARCHS = "$(ARCHS_STANDARD_32_BIT)";
                GCC_C_LANGUAGE_STANDARD = c99;
                GCC_VERSION = com.apple.compilers.llvmgcc42;
+               GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
                GCC_WARN_ABOUT_RETURN_TYPE = YES;
                GCC_WARN_UNUSED_VARIABLE = YES;
                HEADER_SEARCH_PATHS = (
@@ -7160,7 +7163,6 @@
                    "-DOPENSSL_NO_STORE",
                );
                OTHER_LDFLAGS = "-ObjC";
-               PREBINDING = NO;
                SDKROOT = iphoneos;
            };
            name = Release;
@@ -7173,7 +7175,6 @@
                COPY_PHASE_STRIP = NO;
                DSTROOT = /tmp/openssl.dst;
                GCC_DYNAMIC_NO_PIC = NO;
-               GCC_ENABLE_FIX_AND_CONTINUE = YES;
                GCC_MODEL_TUNING = G5;
                GCC_OPTIMIZATION_LEVEL = 0;
                GCC_PRECOMPILE_PREFIX_HEADER = NO;
@@ -7210,7 +7211,6 @@
            buildSettings = {
                COPY_PHASE_STRIP = YES;
                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-               GCC_ENABLE_FIX_AND_CONTINUE = NO;
                PRODUCT_NAME = OpenSSL;
                ZERO_LINK = NO;
            };
@@ -7231,7 +7231,6 @@
            buildSettings = {
                COPY_PHASE_STRIP = YES;
                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-               GCC_ENABLE_FIX_AND_CONTINUE = NO;
                PRODUCT_NAME = Makefile;
                ZERO_LINK = NO;
            };
@@ -7255,7 +7254,6 @@
                    "-framework",
                    UIKit,
                );
-               PREBINDING = NO;
                PRODUCT_NAME = test;
                SKIP_INSTALL = YES;
            };
@@ -7268,7 +7266,6 @@
                CODE_SIGN_IDENTITY = "iPhone Developer";
                COPY_PHASE_STRIP = YES;
                DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-               GCC_ENABLE_FIX_AND_CONTINUE = NO;
                GCC_PRECOMPILE_PREFIX_HEADER = YES;
                GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/UIKit.framework/Headers/UIKit.h";
                INFOPLIST_FILE = "examples/resources/test-Info.plist";
@@ -7279,7 +7276,6 @@
                    "-framework",
                    UIKit,
                );
-               PREBINDING = NO;
                PRODUCT_NAME = test;
                SKIP_INSTALL = YES;
                ZERO_LINK = NO;

Undefined symbols for architecture armv7:

When i am try to build and install the application which uses libsasl2.a library it works fine but when i am going to create archive of it to distribute for testing i am getting below errors.

Undefined symbols for architecture armv7:
"_EVP_DigestUpdate", referenced from:
_otp_hash in libsasl2.a(otp.o)
_word2bin in libsasl2.a(otp.o)
"_EVP_DigestFinal", referenced from:
_otp_hash in libsasl2.a(otp.o)
_word2bin in libsasl2.a(otp.o)
"_EVP_get_digestbyname", referenced from:
_generate_otp in libsasl2.a(otp.o)
_otp_server_mech_step in libsasl2.a(otp.o)
"_DES_ede3_cbc_encrypt", referenced from:
_enc_3des in libsasl2.a(digestmd5.o)
_dec_3des in libsasl2.a(digestmd5.o)
"_EVP_cleanup", referenced from:
_otp_common_mech_free in libsasl2.a(otp.o)
"_EVP_DigestInit", referenced from:
_otp_hash in libsasl2.a(otp.o)
_word2bin in libsasl2.a(otp.o)
"_OpenSSL_add_all_digests", referenced from:
_otp_server_plug_init in libsasl2.a(otp.o)
_otp_client_plug_init in libsasl2.a(otp.o)
"_DES_key_sched", referenced from:
_init_des in libsasl2.a(digestmd5.o)
_init_3des in libsasl2.a(digestmd5.o)
"_DES_cbc_encrypt", referenced from:
_enc_des in libsasl2.a(digestmd5.o)
_dec_des in libsasl2.a(digestmd5.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

iOSPorts.xcodeproj Makefile hard-coding /Application/Xcode

I have multiple version of Xcode installed, so most of them are not located at /Application/Xcode, but when the iOSPorts gets built, it uses the wrong Xcode.

Can you make a configurable option somewhere to fix this? Or can you tell me which Makefile to edit to change the location to point to the right Xcode?

Openssl fails archiving

I'm having issue archiving app. Openssl throws error that "sha" command is not supported.

log:

/usr/bin/curl -O https://www.openssl.org/source/old/1.0.1/openssl-1.0.1p.tar.gz -o openssl-1.0.1p.tar.gz -s \
		|| { rm -f openssl-1.0.1p.tar.gz; echo -e "unable to download openssl-1.0.1p.tar.gz from https://www.openssl.org/source/old/1.0.1/openssl-1.0.1p.tar.gz\nPlease verify that your system is connected to the Internet."; exit 1; };
openssl sha -sha256 < openssl-1.0.1p.tar.gz > openssl-1.0.1p.tar.gz.sha256
openssl:Error: 'sha' is an invalid command.

Standard commands
asn1parse         
ca                certhash          ciphers           
crl               crl2pkcs7         dgst              dh                
dhparam           dsa               dsaparam          ec                
ecparam           enc               errstr            gendh             
...
...
/usr/bin/diff openssl-1.0.1p.tar.gz.sha256 build-aux/openssl-1.0.1p.tar.gz.sha256 > /dev/null \
		|| { /bin/rm -f openssl-1.0.1p.tar.gz.sha256 openssl-1.0.1p.tar.gz; exit 1; };
make: 
*** [openssl-1.0.1p.tar.gz.sha256] Error 1
Command ExternalBuildToolExecution failed with a nonzero exit code
...
...
** ARCHIVE FAILED **


The following build commands failed:
	ExternalBuildToolExecution Makefile-openssl
...

clean takes ages

Hi,
if I clean my project that uses iOS ports, it takes very long time to clean. Mostly it gets stucked at "Cleaning ssl" or "Cleaning crypto". It takes e.g. 10min+ to complete

SSL

SSL

Is it supposed to take so long time ? I have a 2.2 Ghz, 8GB ram MacBook Pro

cheers

doesn't build behind a http proxy

I'm behind a http proxy and the "ssl" target does not build. The command

/usr/bin/curl -O http://www.openssl.org/source/openssl-1.0.0a.tar.gz -o openssl-1.0.0a.tar.gz -s

times out. When a run the make from command line it works (I have exported http_proxy in my .bashrc file.

pcre PACKAGE_URL broken

The hardcoded sourceforge URL for the PCRE package is no longer accessible.

Can you choose a different mirror? (I picked one from sourceforge, and the Xcode project then continued to build just fine.)

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.