Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

iOS and MacOS / iOS development - Disastrous results

Author
Message
mrpmorris
10
Years of Service
User Offline
Joined: 28th Sep 2012
Location:
Posted: 1st Oct 2012 16:05
I have purchased a license of AppGameKit and I am trying to compile a Pascal example app.

If I compile anything in Lazarus I get the following error
Quote: "../../../Source/AGKPlatform_OSX.pas(0,0) Fatal: Can not find unit glfw used by AGKPlatform_OSX."



If I try to compile the standard XCode project for Pascal I get the following (full text at end of this post)
Quote: "v1076/AgkPas/Templates/iOS_Xcode4/AgkTemplate/AgkTemplate.pas
Free Pascal Compiler version 2.6.0 [2011/12/30] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Darwin/iPhoneSim for i386
Compiling /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/AgkTemplate/AgkTemplate.pas
Fatal: Can't find unit system used by AgkDemo
Fatal: Compilation aborted
Command /bin/sh failed with exit code 1"


In addition to this, the URL in the "Getting started for iOS" is no longer valid
http://web.me.com/macpgmr/ObjP/Xcode4/iOS_5_Parser_Input_Files.zip

My test period on Windows ran very smoothly, but I actually need to develop an iPhone/iPad game and my experience so far has been the exact opposite. I would very much appreciate it if someone could help me with this, and/or for someone at the company to get in touch with me.


Pete


Quote: "
PhaseScriptExecution "Run Script" build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/Script-EAC043F8153DF8BD002FA16F.sh
cd /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4
setenv ACTION build
setenv ALTERNATE_GROUP petermorris
setenv ALTERNATE_MODE u+w,go-w,a+rX
setenv ALTERNATE_OWNER petermorris
setenv ALWAYS_SEARCH_USER_PATHS NO
setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
setenv APPLE_INTERNAL_DIR /AppleInternal
setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/Documentation
setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
setenv APPLY_RULES_IN_COPY_FILES NO
setenv ARCHS i386
setenv ARCHS_STANDARD_32_BIT i386
setenv ARCHS_UNIVERSAL_IPHONE_OS i386
setenv BUILD_COMPONENTS "headers build"
setenv BUILD_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build
setenv BUILD_ROOT /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build
setenv BUILD_STYLE Debug
setenv BUILD_VARIANTS normal
setenv BUILT_PRODUCTS_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator
setenv CACHE_ROOT /var/folders/z1/z1onas9MF-WAAiJcEXtQCU+++TI/-Caches-/com.apple.Xcode.501
setenv CCHROOT /var/folders/z1/z1onas9MF-WAAiJcEXtQCU+++TI/-Caches-/com.apple.Xcode.501
setenv CHMOD /bin/chmod
setenv CHOWN /usr/sbin/chown
setenv CLASS_FILE_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/JavaClasses
setenv CLEAN_PRECOMPS YES
setenv CLONE_HEADERS NO
setenv CODESIGNING_FOLDER_PATH /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator/AgkTemplate.app
setenv CODE_SIGN_CONTEXT_CLASS XCCodeSignContext
setenv CODE_SIGN_IDENTITY "iPhone Developer: Johannes Vanbilsen (R759TM7ZET)"
setenv COMMAND_MODE legacy
setenv COMPOSITE_SDK_DIRS /var/folders/z1/z1onas9MF-WAAiJcEXtQCU+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs
setenv COMPRESS_PNG_FILES YES
setenv CONFIGURATION Debug
setenv CONFIGURATION_BUILD_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator
setenv CONFIGURATION_TEMP_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator
setenv CONTENTS_FOLDER_PATH AgkTemplate.app
setenv COPYING_PRESERVES_HFS_DATA NO
setenv COPY_PHASE_STRIP NO
setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
setenv CP /bin/cp
setenv CURRENT_ARCH i386
setenv CURRENT_VARIANT normal
setenv DEAD_CODE_STRIPPING NO
setenv DEBUGGING_SYMBOLS YES
setenv DEBUG_INFORMATION_FORMAT dwarf-with-dsym
setenv DEPLOYMENT_LOCATION NO
setenv DEPLOYMENT_POSTPROCESSING NO
setenv DERIVED_FILES_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/DerivedSources
setenv DERIVED_FILE_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/DerivedSources
setenv DERIVED_SOURCES_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/DerivedSources
setenv DEVELOPER_APPLICATIONS_DIR /Developer/Applications
setenv DEVELOPER_BIN_DIR /Developer/usr/bin
setenv DEVELOPER_DIR /Developer
setenv DEVELOPER_FRAMEWORKS_DIR /Developer/Library/Frameworks
setenv DEVELOPER_FRAMEWORKS_DIR_QUOTED "\"/Developer/Library/Frameworks\""
setenv DEVELOPER_LIBRARY_DIR /Developer/Library
setenv DEVELOPER_SDK_DIR /Developer/SDKs
setenv DEVELOPER_TOOLS_DIR /Developer/Tools
setenv DEVELOPER_USR_DIR /Developer/usr
setenv DEVELOPMENT_LANGUAGE English
setenv DOCUMENTATION_FOLDER_PATH AgkTemplate.app/English.lproj/Documentation
setenv DO_HEADER_SCANNING_IN_JAM NO
setenv DSTROOT /tmp/AgkTemplate.dst
setenv DWARF_DSYM_FILE_NAME AgkTemplate.app.dSYM
setenv DWARF_DSYM_FOLDER_PATH /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator
setenv EFFECTIVE_PLATFORM_NAME -iphonesimulator
setenv ENABLE_HEADER_DEPENDENCIES YES
setenv ENABLE_OPENMP_SUPPORT NO
setenv EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS ".svn .git CVS"
setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib *.lproj *.framework *.gch (*) CVS .svn .git *.xcodeproj *.xcode *.pbproj *.pbxproj"
setenv EXECUTABLES_FOLDER_PATH AgkTemplate.app/Executables
setenv EXECUTABLE_FOLDER_PATH AgkTemplate.app
setenv EXECUTABLE_NAME AgkTemplate
setenv EXECUTABLE_PATH AgkTemplate.app/AgkTemplate
setenv FILE_LIST /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/Objects/LinkFileList
setenv FIXED_FILES_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/FixedFiles
setenv FPC_ARMV6 "-Cparmv6 -Cfvfpv2 -FD/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin"
setenv FPC_ARMV7 "-Cparmv7 -Cfvfpv3 -FD/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin"
setenv FPC_ARM_COMPILER /usr/local/bin/ppcarm
setenv FPC_ARM_UNITS -Fu/Developer/ObjectivePascal/units/arm-darwin
setenv FPC_COMMON "-Mdelphi -XX -k-ios_version_min -k5.0 -XR/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk -Fu/Developer/Agkpas/Source -Fu/Developer/AgkPas/Source/FPC -Fu/Developer/AgkPas/Source/iOS -Fi/Developer/AgkPas/Source -Fu/Developer/AgkPas/Lib/iOS/Debug"
setenv FPC_CONFIG "-Xg -gl"
setenv FPC_MAIN_FILE /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/AgkTemplate/AgkTemplate.pas
setenv FPC_SIM -Tiphonesim
setenv FPC_SIM_COMPILER /usr/local/bin/ppc386
setenv FPC_SIM_UNITS -Fu/Developer/ObjectivePascal/units/i386-iphonesim
setenv FRAMEWORKS_FOLDER_PATH AgkTemplate.app/Frameworks
setenv FRAMEWORK_FLAG_PREFIX -framework
setenv FRAMEWORK_SEARCH_PATHS "\"/Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator\" "
setenv FRAMEWORK_VERSION A
setenv FULL_PRODUCT_NAME AgkTemplate.app
setenv GCC3_VERSION 3.3
setenv GCC_C_LANGUAGE_STANDARD gnu99
setenv GCC_DYNAMIC_NO_PIC NO
setenv GCC_INLINES_ARE_PRIVATE_EXTERN YES
setenv GCC_OBJC_LEGACY_DISPATCH YES
setenv GCC_OPTIMIZATION_LEVEL 0
setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
setenv GCC_PRECOMPILE_PREFIX_HEADER YES
setenv GCC_PREFIX_HEADER AgkTemplate/AgkTemplate-Prefix.pch
setenv GCC_PREPROCESSOR_DEFINITIONS "DEBUG=1 "
setenv GCC_SYMBOLS_PRIVATE_EXTERN NO
setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
setenv GCC_VERSION com.apple.compilers.llvm.clang.1_0
setenv GCC_VERSION_IDENTIFIER com_apple_compilers_llvm_clang_1_0
setenv GCC_WARN_ABOUT_MISSING_PROTOTYPES YES
setenv GCC_WARN_ABOUT_RETURN_TYPE YES
setenv GCC_WARN_UNUSED_VARIABLE YES
setenv GENERATE_MASTER_OBJECT_FILE NO
setenv GENERATE_PKGINFO_FILE YES
setenv GENERATE_PROFILING_CODE NO
setenv GID 501
setenv GROUP petermorris
setenv HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT YES
setenv HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES YES
setenv HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS YES
setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
setenv HEADER_SEARCH_PATHS "\"/Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator/include\" "
setenv ICONV /usr/bin/iconv
setenv INFOPLIST_EXPAND_BUILD_SETTINGS YES
setenv INFOPLIST_FILE AgkTemplate/AgkTemplate-Info.plist
setenv INFOPLIST_OUTPUT_FORMAT binary
setenv INFOPLIST_PATH AgkTemplate.app/Info.plist
setenv INFOPLIST_PREPROCESS NO
setenv INFOSTRINGS_PATH AgkTemplate.app/English.lproj/InfoPlist.strings
setenv INSTALL_DIR /tmp/AgkTemplate.dst/Users/petermorris/Applications
setenv INSTALL_GROUP petermorris
setenv INSTALL_MODE_FLAG u+w,go-w,a+rX
setenv INSTALL_OWNER petermorris
setenv INSTALL_PATH /Users/petermorris/Applications
setenv INSTALL_ROOT /tmp/AgkTemplate.dst
setenv IPHONEOS_DEPLOYMENT_TARGET 5.0
setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
setenv JAVA_ARCHIVE_CLASSES YES
setenv JAVA_ARCHIVE_TYPE JAR
setenv JAVA_COMPILER /usr/bin/javac
setenv JAVA_FOLDER_PATH AgkTemplate.app/Java
setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
setenv JAVA_JAR_FLAGS cv
setenv JAVA_SOURCE_SUBDIR .
setenv JAVA_USE_DEPENDENCIES YES
setenv JAVA_ZIP_FLAGS -urg
setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
setenv KEEP_PRIVATE_EXTERNS NO
setenv LD_GENERATE_MAP_FILE NO
setenv LD_MAP_FILE_PATH /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/AgkTemplate-LinkMap-normal-i386.txt
setenv LD_OPENMP_FLAGS -fopenmp
setenv LEX /Developer/usr/bin/lex
setenv LIBRARY_FLAG_NOSPACE YES
setenv LIBRARY_FLAG_PREFIX -l
setenv LIBRARY_SEARCH_PATHS "\"/Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator\" "
setenv LINKER_DISPLAYS_MANGLED_NAMES NO
setenv LINK_FILE_LIST_normal_i386 /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/Objects-normal/i386/AgkTemplate.LinkFileList
setenv LINK_WITH_STANDARD_LIBRARIES YES
setenv LOCALIZED_RESOURCES_FOLDER_PATH AgkTemplate.app/English.lproj
setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
setenv LOCAL_APPS_DIR /Applications
setenv LOCAL_DEVELOPER_DIR /Library/Developer
setenv LOCAL_LIBRARY_DIR /Library
setenv MACH_O_TYPE mh_execute
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv MAC_OS_X_VERSION_ACTUAL 1068
setenv MAC_OS_X_VERSION_MAJOR 1060
setenv MAC_OS_X_VERSION_MINOR 0608
setenv NATIVE_ARCH i386
setenv NATIVE_ARCH_32_BIT i386
setenv NATIVE_ARCH_64_BIT x86_64
setenv NATIVE_ARCH_ACTUAL x86_64
setenv NO_COMMON YES
setenv OBJC_ABI_VERSION 2
setenv OBJECT_FILE_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/Objects
setenv OBJECT_FILE_DIR_normal /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/Objects-normal
setenv OBJROOT /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build
setenv ONLY_ACTIVE_ARCH NO
setenv OPTIMIZATION_LEVEL 0
setenv OS MACOS
setenv OSAC /usr/bin/osacompile
setenv PACKAGE_TYPE com.apple.package-type.wrapper.application
setenv PASCAL_STRINGS YES
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Developer/Headers /Developer/SDKs /Developer/Platforms"
setenv PBDEVELOPMENTPLIST_PATH AgkTemplate.app/pbdevelopment.plist
setenv PFE_FILE_C_DIALECTS objective-c
setenv PKGINFO_FILE_PATH /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/PkgInfo
setenv PKGINFO_PATH AgkTemplate.app/PkgInfo
setenv PLATFORM_DEVELOPER_APPLICATIONS_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
setenv PLATFORM_DEVELOPER_BIN_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
setenv PLATFORM_DEVELOPER_LIBRARY_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Library
setenv PLATFORM_DEVELOPER_SDK_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
setenv PLATFORM_DEVELOPER_TOOLS_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
setenv PLATFORM_DEVELOPER_USR_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/usr
setenv PLATFORM_DIR /Developer/Platforms/iPhoneSimulator.platform
setenv PLATFORM_NAME iphonesimulator
setenv PLATFORM_PRODUCT_BUILD_VERSION 8C134
setenv PLATFORM_VERSION_AVAILABILITY_H_FORMAT 40200
setenv PLIST_FILE_OUTPUT_FORMAT binary
setenv PLUGINS_FOLDER_PATH AgkTemplate.app/PlugIns
setenv PREBINDING YES
setenv PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR YES
setenv PRECOMP_DESTINATION_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/PrefixHeaders
setenv PRESERVE_DEAD_CODE_INITS_AND_TERMS NO
setenv PRIVATE_HEADERS_FOLDER_PATH AgkTemplate.app/PrivateHeaders
setenv PRODUCT_NAME AgkTemplate
setenv PRODUCT_SETTINGS_PATH /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/AgkTemplate/AgkTemplate-Info.plist
setenv PRODUCT_TYPE com.apple.product-type.application
setenv PROFILING_CODE NO
setenv PROJECT AgkTemplate
setenv PROJECT_DERIVED_FILE_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/DerivedSources
setenv PROJECT_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4
setenv PROJECT_FILE_PATH /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/AgkTemplate.xcodeproj
setenv PROJECT_NAME AgkTemplate
setenv PROJECT_TEMP_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build
setenv PROVISIONING_PROFILE 859E1459-312F-479C-BCD5-C1F33A832C7F
setenv PUBLIC_HEADERS_FOLDER_PATH AgkTemplate.app/Headers
setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
setenv REMOVE_CVS_FROM_RESOURCES YES
setenv REMOVE_GIT_FROM_RESOURCES YES
setenv REMOVE_SVN_FROM_RESOURCES YES
setenv REZ_COLLECTOR_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/ResourceManagerResources
setenv REZ_OBJECTS_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/ResourceManagerResources/Objects
setenv REZ_SEARCH_PATHS "\"/Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator\" "
setenv RUN_CLANG_STATIC_ANALYZER NO
setenv SCAN_ALL_SOURCE_FILES_FOR_INCLUDES NO
setenv SCRIPTS_FOLDER_PATH AgkTemplate.app/Scripts
setenv SCRIPT_INPUT_FILE_COUNT 0
setenv SCRIPT_OUTPUT_FILE_COUNT 0
setenv SDKROOT /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
setenv SDK_DIR /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk
setenv SDK_NAME iphonesimulator4.2
setenv SED /usr/bin/sed
setenv SEPARATE_STRIP NO
setenv SEPARATE_SYMBOL_EDIT NO
setenv SET_DIR_MODE_OWNER_GROUP YES
setenv SET_FILE_MODE_OWNER_GROUP NO
setenv SHALLOW_BUNDLE YES
setenv SHARED_DERIVED_FILE_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator/DerivedSources
setenv SHARED_FRAMEWORKS_FOLDER_PATH AgkTemplate.app/SharedFrameworks
setenv SHARED_PRECOMPS_DIR /var/folders/z1/z1onas9MF-WAAiJcEXtQCU+++TI/-Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders
setenv SHARED_SUPPORT_FOLDER_PATH AgkTemplate.app/SharedSupport
setenv SKIP_INSTALL YES
setenv SOURCE_ROOT /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4
setenv SRCROOT /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4
setenv STANDARD_C_PLUS_PLUS_LIBRARY_TYPE dynamic
setenv STRINGS_FILE_OUTPUT_ENCODING binary
setenv STRIP_INSTALLED_PRODUCT YES
setenv STRIP_STYLE all
setenv SUPPORTED_DEVICE_FAMILIES "1 2"
setenv SYMBOL_REPOSITORY_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/SymbolRepositories
setenv SYMROOT /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build
setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
setenv SYSTEM_APPS_DIR /Applications
setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
setenv SYSTEM_DEMOS_DIR /Applications/Extras
setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
setenv SYSTEM_DEVELOPER_BIN_DIR /Developer/usr/bin
setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/Utilities/Built Examples"
setenv SYSTEM_DEVELOPER_DIR /Developer
setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/Applications/Graphics Tools"
setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/Java Tools"
setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/Applications/Performance Tools"
setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes"
setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference Library/documentation/DeveloperTools"
setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC Reference Library/releasenotes/DeveloperTools"
setenv SYSTEM_DEVELOPER_USR_DIR /Developer/usr
setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/Utilities
setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
setenv SYSTEM_LIBRARY_DIR /System/Library
setenv TARGETED_DEVICE_FAMILY 1,2
setenv TARGETNAME AgkTemplate
setenv TARGET_BUILD_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator
setenv TARGET_NAME AgkTemplate
setenv TARGET_TEMP_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build
setenv TEMP_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build
setenv TEMP_FILES_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build
setenv TEMP_FILE_DIR /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build
setenv TEMP_ROOT /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build
setenv UID 501
setenv UNLOCALIZED_RESOURCES_FOLDER_PATH AgkTemplate.app
setenv UNSTRIPPED_PRODUCT NO
setenv USER petermorris
setenv USER_APPS_DIR /Users/petermorris/Applications
setenv USER_LIBRARY_DIR /Users/petermorris/Library
setenv USE_DYNAMIC_NO_PIC YES
setenv USE_HEADERMAP YES
setenv USE_HEADER_SYMLINKS NO
setenv VALIDATE_PRODUCT NO
setenv VALID_ARCHS i386
setenv VERBOSE_PBXCP NO
setenv VERSIONPLIST_PATH AgkTemplate.app/version.plist
setenv VERSION_INFO_BUILDER petermorris
setenv VERSION_INFO_FILE AgkTemplate_vers.c
setenv VERSION_INFO_STRING "\"@(#)PROGRAM:AgkTemplate PROJECT:AgkTemplate-\""
setenv WRAPPER_EXTENSION app
setenv WRAPPER_NAME AgkTemplate.app
setenv WRAPPER_SUFFIX .app
setenv XCODE_APP_SUPPORT_DIR /Developer/Library/Xcode
setenv XCODE_PRODUCT_BUILD_VERSION 10M2423
setenv XCODE_VERSION_ACTUAL 0325
setenv XCODE_VERSION_MAJOR 0300
setenv XCODE_VERSION_MINOR 0320
setenv YACC /Developer/usr/bin/yacc
setenv _REAL_SDKROOT iphoneos
/bin/sh -c /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/Script-EAC043F8153DF8BD002FA16F.sh

/usr/local/bin/ppc386 -Mdelphi -XX -k-ios_version_min -k5.0 -XR/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk -Fu/Developer/Agkpas/Source -Fu/Developer/AgkPas/Source/FPC -Fu/Developer/AgkPas/Source/iOS -Fi/Developer/AgkPas/Source -Fu/Developer/AgkPas/Lib/iOS/Debug -Xg -gl -Fu/Developer/ObjectivePascal/units/i386-iphonesim -Tiphonesim -FU/Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/AgkTemplate.build/Debug-iphonesimulator/AgkTemplate.build/Objects-normal/i386 -o/Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/build/Debug-iphonesimulator/AgkTemplate.app/AgkTemplate /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/AgkTemplate/AgkTemplate.pas
Free Pascal Compiler version 2.6.0 [2011/12/30] for i386
Copyright (c) 1993-2011 by Florian Klaempfl and others
Target OS: Darwin/iPhoneSim for i386
Compiling /Volumes/Backups/AGKForPascal-v1076/AgkPas/Templates/iOS_Xcode4/AgkTemplate/AgkTemplate.pas
Fatal: Can't find unit system used by AgkDemo
Fatal: Compilation aborted
Command /bin/sh failed with exit code 1
"
mrpmorris
10
Years of Service
User Offline
Joined: 28th Sep 2012
Location:
Posted: 4th Oct 2012 11:57
This set of steps by Erik Bilsen does work. The problem seems to be that if you also have Lazarus installed on the Mac then nothing will compile. Once I had removed Lazarus everything worked.

Login to post a reply

Server time is: 2022-09-29 12:18:36
Your offset time is: 2022-09-29 12:18:36