Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Before

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.5
BuildVersion:	18F132

$ xcodebuild -version
Xcode 10.2.1
Build version 10E1001

$ git show HEAD --no-patch
commit 8f961ac0399c8e4376146528ec0ff22b03cab5e9
Author: Vyacheslav Frolov <vyacheslav.frolov@corp.badoo.com>
Date:   Thu Jul 18 02:06:51 2019 -0700

    Add support for iOS 13, tvOS 13, watchOS 6 to iOS target configuration (#538)
    
    Summary:
    Add support for iOS 13, tvOS 13, watchOS 6 to iOS target configuration
    as well add missing const for 12.1
    Pull Request resolved: https://github.com/facebook/idb/pull/538
    
    Reviewed By: lawrencelomax
    
    Differential Revision: D16325614
    
    Pulled By: c-ryan747
    
    fbshipit-source-id: 134635de5a22c897586ba7994aa8d810c0f72a16

$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	idb_companion.xcodeproj/xcshareddata/

nothing added to commit but untracked files present (use "git add" to track)

$ cat ./idb_companion.xcodeproj/xcshareddata/xcschemes/idb_companion.xcscheme
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
   LastUpgradeVersion = "1100"
   version = "1.3">
   <BuildAction
      parallelizeBuildables = "YES"
      buildImplicitDependencies = "YES">
      <BuildActionEntries>
         <BuildActionEntry
            buildForTesting = "YES"
            buildForRunning = "YES"
            buildForProfiling = "YES"
            buildForArchiving = "YES"
            buildForAnalyzing = "YES">
            <BuildableReference
               BuildableIdentifier = "primary"
               BlueprintIdentifier = "D7D6DF112265DDEC00B01F14"
               BuildableName = "idb_companion"
               BlueprintName = "idb_companion"
               ReferencedContainer = "container:idb_companion.xcodeproj">
            </BuildableReference>
         </BuildActionEntry>
      </BuildActionEntries>
   </BuildAction>
   <TestAction
      buildConfiguration = "Debug"
      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
      shouldUseLaunchSchemeArgsEnv = "YES">
      <Testables>
      </Testables>
   </TestAction>
   <LaunchAction
      buildConfiguration = "Debug"
      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
      launchStyle = "0"
      useCustomWorkingDirectory = "NO"
      ignoresPersistentStateOnLaunch = "NO"
      debugDocumentVersioning = "YES"
      debugServiceExtension = "internal"
      allowLocationSimulation = "YES">
      <BuildableProductRunnable
         runnableDebuggingMode = "0">
         <BuildableReference
            BuildableIdentifier = "primary"
            BlueprintIdentifier = "D7D6DF112265DDEC00B01F14"
            BuildableName = "idb_companion"
            BlueprintName = "idb_companion"
            ReferencedContainer = "container:idb_companion.xcodeproj">
         </BuildableReference>
      </BuildableProductRunnable>
   </LaunchAction>
   <ProfileAction
      buildConfiguration = "Release"
      shouldUseLaunchSchemeArgsEnv = "YES"
      savedToolIdentifier = ""
      useCustomWorkingDirectory = "NO"
      debugDocumentVersioning = "YES">
      <BuildableProductRunnable
         runnableDebuggingMode = "0">
         <BuildableReference
            BuildableIdentifier = "primary"
            BlueprintIdentifier = "D7D6DF112265DDEC00B01F14"
            BuildableName = "idb_companion"
            BlueprintName = "idb_companion"
            ReferencedContainer = "container:idb_companion.xcodeproj">
         </BuildableReference>
      </BuildableProductRunnable>
   </ProfileAction>
   <AnalyzeAction
      buildConfiguration = "Debug">
   </AnalyzeAction>
   <ArchiveAction
      buildConfiguration = "Release"
      revealArchiveInOrganizer = "YES">
   </ArchiveAction>
</Scheme>

$ ./idb_build.sh idb_companion build
using target idb_companion
using command build
No output directory specified
�[33m▸�[0m �[39;1mProcessing�[0m FBControlCore-Info.plist
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/FBControlCore.framework
�[33m▸�[0m �[39;1mProcessing�[0m XCTestBootstrap-Info.plist
�[33m▸�[0m �[39;1mRunning script�[0m 'Run Script'
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/FBControlCore.framework
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/FBControlCore.framework
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/XCTestBootstrap.framework
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/XCTestBootstrap.framework
�[33m▸�[0m �[39;1mProcessing�[0m FBDeviceControl-Info.plist
�[33m▸�[0m �[39;1mLinking�[0m idb_companion

�[31m❌  Undefined symbols for architecture x86_64�[0m
> Symbol: _OBJC_CLASS_$_FBIDBLogger
> Referenced from: objc-class-ref in main.o



�[31m❌  ld: symbol(s) not found for architecture x86_64�[0m



�[31m❌  clang: error: linker command failed with exit code 1 (use -v to see invocation)�[0m


** BUILD FAILED **


The following build commands failed:
	Ld /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/idb_companion normal x86_64
(1 failure)

After

$ sw_vers
ProductName:	Mac OS X
ProductVersion:	10.14.5
BuildVersion:	18F132

$ xcodebuild -version
Xcode 10.2.1
Build version 10E1001

$ git show HEAD --no-patch
commit c43be4ca54d921aa7d4af831ed28554d6d74f2bd
Author: Kuniwak <orga.chem.job@gmail.com>
Date:   Sun Jul 21 12:19:43 2019 +0900

    Add missing files causing build errors

$ git status
On branch add-missing-files
Your branch is up to date with 'kuniwak/add-missing-files'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	idb_companion.xcodeproj/xcshareddata/

nothing added to commit but untracked files present (use "git add" to track)

$ cat ./idb_companion.xcodeproj/xcshareddata/xcschemes/idb_companion.xcscheme
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
   LastUpgradeVersion = "1100"
   version = "1.3">
   <BuildAction
      parallelizeBuildables = "YES"
      buildImplicitDependencies = "YES">
      <BuildActionEntries>
         <BuildActionEntry
            buildForTesting = "YES"
            buildForRunning = "YES"
            buildForProfiling = "YES"
            buildForArchiving = "YES"
            buildForAnalyzing = "YES">
            <BuildableReference
               BuildableIdentifier = "primary"
               BlueprintIdentifier = "D7D6DF112265DDEC00B01F14"
               BuildableName = "idb_companion"
               BlueprintName = "idb_companion"
               ReferencedContainer = "container:idb_companion.xcodeproj">
            </BuildableReference>
         </BuildActionEntry>
      </BuildActionEntries>
   </BuildAction>
   <TestAction
      buildConfiguration = "Debug"
      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
      shouldUseLaunchSchemeArgsEnv = "YES">
      <Testables>
      </Testables>
   </TestAction>
   <LaunchAction
      buildConfiguration = "Debug"
      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
      launchStyle = "0"
      useCustomWorkingDirectory = "NO"
      ignoresPersistentStateOnLaunch = "NO"
      debugDocumentVersioning = "YES"
      debugServiceExtension = "internal"
      allowLocationSimulation = "YES">
      <BuildableProductRunnable
         runnableDebuggingMode = "0">
         <BuildableReference
            BuildableIdentifier = "primary"
            BlueprintIdentifier = "D7D6DF112265DDEC00B01F14"
            BuildableName = "idb_companion"
            BlueprintName = "idb_companion"
            ReferencedContainer = "container:idb_companion.xcodeproj">
         </BuildableReference>
      </BuildableProductRunnable>
   </LaunchAction>
   <ProfileAction
      buildConfiguration = "Release"
      shouldUseLaunchSchemeArgsEnv = "YES"
      savedToolIdentifier = ""
      useCustomWorkingDirectory = "NO"
      debugDocumentVersioning = "YES">
      <BuildableProductRunnable
         runnableDebuggingMode = "0">
         <BuildableReference
            BuildableIdentifier = "primary"
            BlueprintIdentifier = "D7D6DF112265DDEC00B01F14"
            BuildableName = "idb_companion"
            BlueprintName = "idb_companion"
            ReferencedContainer = "container:idb_companion.xcodeproj">
         </BuildableReference>
      </BuildableProductRunnable>
   </ProfileAction>
   <AnalyzeAction
      buildConfiguration = "Debug">
   </AnalyzeAction>
   <ArchiveAction
      buildConfiguration = "Release"
      revealArchiveInOrganizer = "YES">
   </ArchiveAction>
</Scheme>

$ ./idb_build.sh idb_companion build
using target idb_companion
using command build
No output directory specified
�[33m▸�[0m �[39;1mProcessing�[0m FBControlCore-Info.plist
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/FBControlCore.framework
�[33m▸�[0m �[39;1mRunning script�[0m 'Run Script'
�[33m▸�[0m �[39;1mProcessing�[0m XCTestBootstrap-Info.plist
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/FBControlCore.framework
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/FBControlCore.framework
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/XCTestBootstrap.framework
�[33m▸�[0m �[39;1mCopying�[0m /Users/Kuniwak/Development/idb-portable/idb/build/Build/Products/Debug/XCTestBootstrap.framework
�[33m▸�[0m �[39;1mCompiling�[0m FBIDBLogger.m

�[33m⚠️  �[0m/Users/Kuniwak/Development/idb-portable/idb/idb_companion/Utility/FBIDBLogger.h:24:9: �[33mparameter 'userDefalts' not found in the function declaration [-Wdocumentation]�[0m

 @param userDefalts the user defaults to use.
�[36m        ^~~~~~~~~~~�[0m


�[33m▸�[0m �[39;1mLinking�[0m idb_companion
�[33m▸�[0m �[39;1mBuild�[0m Succeeded
Stripping Framework build/Build/Products/Debug/FBSimulatorControl.framework/Versions/Current/Frameworks/XCTestBootstrap.framework
Stripping Framework build/Build/Products/Debug/FBSimulatorControl.framework/Versions/Current/Frameworks/FBControlCore.framework
Stripping Framework build/Build/Products/Debug/FBDeviceControl.framework/Versions/Current/Frameworks/XCTestBootstrap.framework
Stripping Framework build/Build/Products/Debug/FBDeviceControl.framework/Versions/Current/Frameworks/FBControlCore.framework
Stripping Framework build/Build/Products/Debug/XCTestBootstrap.framework/Versions/Current/Frameworks/FBControlCore.framework
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.