Advanced Custom Fields – Relationship post foreach query

Use the old method of adding the relationship field -> Post Object

<?php while (have_posts()) : the_post(); ?>
<div class="entry-content"> 
    <h1 class="content-headline">Package: <?php the_title(); ?></h1>
</div>
<div class="package-description" style="padding:15px 10px;background:white;">
    <?php the_content(); ?>
</div>
<?php 

$posts = get_field('package_items');

if( $posts ): ?>

<ul>    

<?php foreach( $posts as $post): // variable must be called $post (IMPORTANT) 

    setup_postdata($post); ?>

        <li>
            <a href="https://wordpress.stackexchange.com/questions/159144/<?php echo get_permalink( $post->ID ); ?>">
                <?php echo get_the_title( $post->ID ); ?>
            </a>
        </li>

<?php endforeach; ?>

</ul>

<?php wp_reset_postdata(); // IMPORTANT - reset the $post object so the rest of the page works correctly

endif; endwhile; ?>